adplus-dvertising
frame-decoration

Question

How could be the matrix constructed by using the following R code?
m <- matrix(1:6, nrow = 2, ncol = 3)

a.

row-wise

b.

column-wise

c.

any manner

d.

data insufficient

Posted under R Programming

Answer: (b).column-wise

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How could be the matrix constructed by using the following R code?

Similar Questions

Discover Related MCQs

Q. The dimension attribute is itself an integer vector of length _______

Q. How do you create an integer suppose 5 in R?

Q. Which one of the following is not a basic datatype?

Q. How can we define ‘infinity’ in R language?

Q. What is NaN called?

Q. How can we define ‘undefined value’ in R language?

Q. A list is represented as a vector but can contain objects of ___________

Q. In R language, a vector is defined that it can only contain objects of the ________

Q. Which of the following operator is used to create integer sequences?

Q. Which of the following is used for Statistical analysis in R language?

Q. Advanced users can write ___ code to manipulate R objects directly.

Q. What is the output of getOption(“defaultPackages”) in R studio?

Q. Which of the following is “Recommended” package in R?

Q. Which of the following is a base package for R language?

Q. Point out the wrong statement?

Q. Which Package contains most fundamental functions to run R?

Q. R functionality is divided into a number of ________

Q. Point out the wrong statement?

Q. They primary R system is available from the ______

Q. Which of the following command is used to print an object “x” in R?