Examveda

What will be the output of the following R code?
> x <- 1:4
> y <- 6:9
> x/y

A. 0.1666667 0.2857143 0.4444444

B. 0.1666667 0.2857143 0.3750000 0.4444444

C. 0.2857143 0.3750000 0.4444444

D. Error

Answer: Option B


This Question Belongs to R Programming >> Data Structures In R Programming

Join The Discussion

Related Questions on Data Structures in R Programming