Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

change from matrix to a dataframe in r

as.data.frame(x, row.names = NULL, optional = FALSE,
              make.names = TRUE, …,
              stringsAsFactors = default.stringsAsFactors())
 
PREVIOUS NEXT
Tagged: #change #matrix #dataframe
ADD COMMENT
Topic
Name
4+2 =