Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Liaw, Andy

>You might save yourself some headaches by turning it into a matrix instead, 
>since all the columns are either integer or numeric:
>tonedata <- data.matrix(tonedata)

>Data frames are really lists, so even when you get a one-row subset, it's 
>still a one-row data frame.  You can use unlist() to turn 
>that into a vector.

>Andy

Great, Andy, thanks! unlist was what I was looking for. 

Morten

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to