mch2num <- function(x){ # convert character, stored in matrix, to numeric data. m=matrix(NA,nrow=nrow(x),ncol=ncol(x)) for(j in 1:ncol(x))m[,j]=as.numeric(x[,j]) m }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.