Thanks to everyone for their answers to this one.
> data.matrix(twblack[,4:22])
where twblack is my imported data frame, does exactly what I
wanted, dumping the first three columns and taking the remaining 19
which were simple numeric variables as a matrix. I don't know what
I was doing wrong as I'd have sworn I'd tried that and got error
messages yesterday.
Wonderful list!
Chris
Chris Evans <chris@psyctc.org>
Consultant Psychiatrist in Psychotherapy,
Rampton Hospital; Associate R&D Director,
Tavistock & Portman NHS Trust;
Hon. SL Institute of Psychiatry
*** My views are my own and not representative
of those institutions ***
|