R Programming: To create 3 vectors A,B,C with 3 integers combine the three vectors to be column 3*3 matrix where with column represent vector print the content of matrix

 

R Programming: To create 3 vectors A,B,C with 3 integers combine the three vectors to be column 3*3 matrix where with column represent vector print the content of matrix


R Programming Code :

A<-c(12,3,24)
B<-c(21,43,3)
C<-c(4,6,5)
D<-cbind(A,B,C)
print(D)

Sample Output:














Post a Comment

Previous Post Next Post