在R中,switch函数的语法形式如下: 其中,expr为表达式, ... for(i in bd) { print(switch (i,a='aaaa',b='bbbb',c='cccc',d='dddd', case = action ) ...
確定! 回上一頁