My Coyne a écrit : > I have a data frame and would like to convert it into a matrix, how do I do > that?
either use the df for the initialisation values mat = matrix(df, ...) or as.matrix() could do the trick. ______________________________________________ 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.