On Sep 6, 2008, at 4:24 PM, drflxms wrote:
Hello Mr. Burns, Hello Mr. Dwinseminus
snip
David, the "input" data.frame is the result of the reshape-command I
performed. I just copied it from the R-console into the e-mail. In
fact
the first column "video" is not part of the data, but neede
Hello Mr. Burns, Hello Mr. Dwinseminus
thank you very much for your incredible quick and efficient reply! I was
completely successful with the following command:
pairs<-data.frame(pred=factor(unlist(input[,-c(1,ncol(input))])),ref=factor(input[,ncol(input)]))
In case of the "input" example data.
Hi Felix,
>> My problem is now, that I analyse data.frames with an unknown count of
>> columns. So to get rid of the first and last column for the "pred"
>> variable
>> and to select the last column for the "ref" variable, ...
Doubtless there are other routes. Generally I use ?length to get the
Not sure where your "input" came from. It's not in a format I would
have expected of an R object and the first line is not in a form that
would be particularly easy to read into a valid R object. Numbers are
no legitimate object names. It's also not clear what you want to do
with the duplic
Dear R-colleagues,
another question from a newbie: I am creating a lot of simple
pivot-charts from my raw data using the reshape-package. In these charts
we have medical doctors judging videos in the columns and the videos
they judge in the rows. Simple example of chart/data.frame "input" with
two
5 matches
Mail list logo