Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

How to make matrix in R

 A = matrix( 
   c(2, 4, 3, 1, 5, 7), # the data elements 
   nrow=2,              # number of rows 
   ncol=3,              # number of columns 
   byrow = TRUE)        # fill matrix by rows 
Source by www.r-tutor.com #
 
PREVIOUS NEXT
Tagged: #How #matrix #R
ADD COMMENT
Topic
Name
1+8 =