A
Q. 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])
+ }
- Correct Answer - Option(A)
- Views: 22
- Filed under category R Programming
- Hashtags:
Discusssion
Login to discuss.