Examveda

Which of the following is a valid assignment?

A. > m <- matrix(nrow = 2, ncol = 3)

B. > m <- matrix(nrow = 2, ncol = 3.5)

C. > m <- mat(nrow = 2, ncol = 3)

D. > m <- mat(nrow = 2, ncol = 5)

Answer: Option A


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics