search for: dcbasmathcountspring

Displaying 1 result from an estimated 1 matches for "dcbasmathcountspring".

2007 Sep 19
2
By() with method = spearman
...39;mtsc07', 'DCBASmathscoreSPRING')], tmp$Grade, cor, use='complete', method='spearman') Error in FUN(data[x, ], ...) : 'x' is empty I can subset the data by grade and compute spearman rho as tmp5 <- subset(tmp, Grade == 5) cor(tmp5[,c('mtsc07', 'DCBASmathcountSPRING')], use='complete', method='spearman') But doing this iteratively is inefficient. I don't see anything in the help man for by() or cor() that tells me what the problem is. I might be missing it though. Any thoughts? Thanks, Harold > sessionInfo() R version 2.5.0 (200...