Examveda

Which of the following is example of vectorized operation as far as subtraction is concerned?
> x <- 1:4
> y <- 6:9

A. x+y

B. x-y

C. x/y

D. y/x

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