Examveda

Which of the following is used for reading tabular data?
> y <- data.frame(a = 1, b = "a")
> dput(y, file = "y.R")
> new.y <- dget("y.R")
> new.y

A. a b
1 1 a

B. a b
1 2 b

C. a b
2 1 a

D. b a
1 a a

Answer: Option A


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

Join The Discussion

Related Questions on Data Structures in R Programming