Hi,
I'm experimenting with a few learners that require a matrix as their
input. (Currently svmpath, vbmp, etc.)
I currently have a dataframe with 50 columns and 20,000 rows.
I tried using:
x <- as.matrix(my_data.frame)
If I then as, "is.matrix(x)", I get TRUE.
However everywhere I've tried to use the matrix returns errors.
Is there a step I'm missing?
Thanks!
-N
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.