Hi
so basically you want to
1. select one city
2. compute a correlation coeficient between value V for males and
females
3. repeat this for each city
As I am not an expert in statistics I could be off track but maybe
cor(do.call(cbind,split(data$V, interaction(data$city, data$se
Hi
[EMAIL PROTECTED] napsal dne 04.12.2007 02:39:39:
> > I recently picked up R for econometrics modeling, and I am confronted
with
> a
> > problem. I use cor.test() for spearman test, and want to get the "rho"
and
> > "P-value" in the summary. Would you please tell me how to get them?
Thank
>
2 matches
Mail list logo