Q67
What will be the output of the following R code? > x lapply(x, mean)
A.
$a
[1] 3
$b
[1] 0.1322028
Answer[1] 3
$b
[1] 0.1322028
B.
$a
[1] 4
$b
[1] 0.1322028
[1] 4
$b
[1] 0.1322028
C.
$a
[1] 5
$b
[1] 0.1322028
[1] 5
$b
[1] 0.1322028
D.
$a
[2] 5
$b
[1] 3
[2] 5
$b
[1] 3
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board