ExamVeda
Login
Home
61
. . . . . . . . returns TRUE then X can be termed as a matrix data object.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
62
. . . . . . . . package provides basic functionalities in R environment like arithmetic calculations, input/output.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
63
What will be the output of the following R code?
> x <- 3
> switch(x, 2+2, mean(1:10), rnorm(5))
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
64
What will be the output of the following R code?
> x <- 1:4
> lapply(x, runif)
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
65
What will be the output of the following R code?
> x <- c("a", "b", "c", "d")
> for(i in 1:4) {
    + ## Print out each element of 'x'
    + print(x[i])
+ }
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
66
. . . . . . . . function gives an error message if the desired package cannot be loaded.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
67
What will be the output of the following R code?
> x <- list(a = 1:5, b = rnorm(10))
> lapply(x, mean)
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
68
Which of the following R code syntax is syntactically valid?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
69
. . . . . . . . function takes various parameters like formula, data, subset, labels, etc.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
70
. . . . . . . . functions can be "built which contain all of the necessary data for evaluating the function.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board