d*******1 发帖数: 854 | 1 我只知道TAPPLY(A,B,FUNCTION(X)(XXXXXXXXXXXXXXXX)), 但是能不能用TAPPLY包裹一
个含两个参数的FUNCTION 类似 TAPPLY(XXXXXXXXXXX, FUNCTION(X,Y)(XXXXXYYYYYY))
谢了. | D******n 发帖数: 2836 | | z****g 发帖数: 1978 | | l*********s 发帖数: 5409 | 4 No and yes. apply function family only pass 1 parameter, but you can
internalize the others by yourself.
【在 d*******1 的大作中提到】 : 我只知道TAPPLY(A,B,FUNCTION(X)(XXXXXXXXXXXXXXXX)), 但是能不能用TAPPLY包裹一 : 个含两个参数的FUNCTION 类似 TAPPLY(XXXXXXXXXXX, FUNCTION(X,Y)(XXXXXYYYYYY)) : 谢了.
| d*******1 发帖数: 854 | 5 Nius. more specifics please.
【在 l*********s 的大作中提到】 : No and yes. apply function family only pass 1 parameter, but you can : internalize the others by yourself.
| d*******1 发帖数: 854 | 6 for example, i need to run chi square test between two columns by all the
levels of a third column......
【在 d*******1 的大作中提到】 : Nius. more specifics please.
| l*********s 发帖数: 5409 | 7 for data frame, you need the aggregate function.
【在 d*******1 的大作中提到】 : for example, i need to run chi square test between two columns by all the : levels of a third column......
|
|