[R] Multidimensional correlation matrix question
jrkrideau at inbox.com
Sun Feb 17 16:32:07 CET 2013
Kingston ON Canada
> -----Original Message-----
> From: tanu at gurukuli.co.uk
> Sent: Sun, 17 Feb 2013 07:50:17 +0000
> To: r-help at r-project.org
> Subject: [R] Multidimensional correlation matrix question
> I previously sent this message which was stripped off due to HTML mail.
> Hello All,
> I am new to the list. I have been learning to use R recently and its been
> great to see so much help available.
> However I must admit, I have stumbled upon a problem with correlation
> matrices and was hoping if someone could help.
> I have an excel workbook with a sheet per drug.
> Each sheet has 40 patients' drug response measured over different time
> points (several days).
> I have already been able to create a cor() matrix of all the drugs for
> the patients on each day. However I have been asked to prepare a matrix
> all days of all people for all drugs. So since there are 26 drugs, I am
> expected to form a 26x26 matrix for all this data.
> I am not even sure if this is possible. Can anyone point me in the right
> PS: If I make individual matrix and combine them using cbind(), it is not
> 26x26 sqaure matrix.
> Any help would be greatly appreciated.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
More information about the R-help