Q64
What will be the output of the following R code? > x x
A.
$foo
[1] 1 2 3 4
$bar
[1] 0.6
Answer[1] 1 2 3 4
$bar
[1] 0.6
B.
$foo
[1] 0 1 2 3 4
$bar
[1] 0 0.6
[1] 0 1 2 3 4
$bar
[1] 0 0.6
C.
$foo
[1] 0 1 2 3 4
$bar
[1] 0.6
[1] 0 1 2 3 4
$bar
[1] 0.6
D.
Error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board