search for: d2_2

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

Did you mean: d22
2008 May 20
2
Help creating a correlation matrix
Hello all. I have 14 variables, named D2_1, D2_2,...,D2_14 (inherited from a data set). I would like to create a matrix of correlations, although I would be content in just learning how to create a proper do loop. I tried something like this: (for i in 1:14){cor(D2_[i],D2_[i], use = "complete.obs")} This is wrong, of course, but I do...