Hello,
I'm trying to use tapply to find group means in a function. It works
outside of a function, but I get the error message from the following code:
Error in tapply(index, cluster, mean) : arguments must have same length.
Any suggestions? Thanks.
eric
d - data.frame(cbind(cluster=1:2,
eric lee wrote:
Hello,
I'm trying to use tapply to find group means in a function. It works
outside of a function, but I get the error message from the following code:
Error in tapply(index, cluster, mean) : arguments must have same length.
Any suggestions? Thanks.
This is neither caused
eric lee ericlee100 at gmail.com writes:
Hello,
I'm trying to use tapply to find group means in a function. It works
outside of a function, but I get the error message from the following code:
Error in tapply(index, cluster, mean) : arguments must have same length.
Any suggestions?
3 matches
Mail list logo