Hi guys I have an input file with multiple columns and and rows. Is it possible to calculate correlation of certain value of certain No (For example x of S1 = 112) with all other values (for example start with x 112 corr a 3 of S1 = x-a 0.2 )
INPUT ******* No S1 S2 S3 S4 Sn a 3 4 45 34 23 x 112 0 12 23 0 b 0 1 23 12 1 n 0 1 0 1 1 OUTPUT *********** No S1 S2 S3 S4 Sn x-a 0.2 0.3 ............... x-x 1 1 ................ x-b 0.......................... x-n 0.9 ....................... [[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.