Slip 25 - E) Write an R program to create a list of elements using vectors, matrices and a functions. Print the content of the list.

Solution:

l=list(c(1,2,3,4,12,7),
       month.abb,
       matrix(c(3,-8,1,-3),nrow=2), 
       asin
)
print("Content of the list")
print(l)

Post a Comment

0 Comments