Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

R matrix

 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: #R #matrix
ADD COMMENT
Topic
Name
7+4 =