Dear list,
I have a csv file like below, and I have similar 150 files (responses from 150 samples) in a folder. Id like to get the mean score of pairwise correlation score among 150 respondents by hour(0~20hour). All I can think of is bring up two files and get the pairwise correlation score and repeating this (e.g. (p1,p2),(p1,P3) (P4,P5)..)and get the total mean of correlation score. However, since therere 150 samples I cant think of doing this manually.. Hour Response 0 -0.11703 0.016667 -0.10427 0.033333 -0.091347 0.05 -0.078313 0.066667 -0.065226 0.083333 -0.052147 0.1 -0.039136 . . Can anyone please point out the best way to do? .. Its been only a month since I started to use R Thank you! [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.