Examveda

What will be the output of the following R code?
> m <- matrix(nrow = 2, ncol = 3)
> dim(m)

A. 3 2

B. 2 3

C. 2 2

D. 4 5

Answer: Option B


This Question Belongs to R Programming >> R Programming Basics

Join The Discussion

Related Questions on R Programming Basics