Hello,

I tried to obtain a nonparametric correlation matrix with the following syntax:

by(mydat, mydat$GROUP, function(subset) { matrix <- cbind(subset$WK1FREQ, 
subset$WK2FREQ, subset$WK3FREQ, subset$WK4FREQ, subset$BESTDAY) cor(matrix, 
method="kendall",use="pairwise.complete.obs") })
Error: syntax error

In addition to the matrix, I was hoping to obtain p-value and CI (rounded 
to 3 decimal points).

Any suggestions are much appreciated,

Bob Green

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to