Home / MCQ Bank / Computer
Computer Data Structures In R Programming

What will be the output of the following R code? > x <- matrix(1:6, 2, 3) > x[1, , drop = FALSE]

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • [,1] [,2] [,3] [1,] 1 3 5

Related Computer Questions

There are ________ predefined ledgers What will be the output of the following R code? > x <- as.Date("1970-01-01") > x To see the table structure which command is issued? What will be the output of the following C# code? static void Main(string[] args) { String a = "Ilove"; String b = "CSHARP"; b = string.Concat(a,' ',b); string d = b.TrimStart('I', 'l', 'o', 'H'); Console.WriteLine(d); Console.ReadLine(); } How do you get the current position within the file?