[R] scatterplot matrix question
David Winsemius
dwinsemius at comcast.net
Sat Jan 2 20:01:47 CET 2010
On Jan 2, 2010, at 1:49 PM, William Simpson wrote:
>> Now that we are able to help with some more detailed view of your
>> data
>> (although you could have helped helping by making it easier for us
>> to import
>> your data into R), the answer is:
> I am preparing for the data analysis, writing the code (knowing I may
> have to modify it later) while the data are still being collected.
> That's why I used the artificial data when asked for some. I will be
> pressed for time when the data arrive.
>
>> Almost, after reshaping:
>>
>>
>>
>> dwide <- reshape(d, v.names="resp", idvar="ID",
>> timevar="angle", direction="wide")
>> pairs(dwide[,-1])
>>
>>
> Thanks very much, Uwe. I will try this (on artificial data). I think
> reshape() requires a library [reshape?].
No. In fact, the reshape package does not have a reshape function.
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list