Skip to content
Prev 366347 / 398502 Next

about data format in R

Probably you need to use

file1 <- read.table('df', header=TRUE, stringsAsFactors=FALSE)

str(file1)

generally shows you all sorts of useful things about the file you have
just imported into R.

Sarah
On Fri, Dec 30, 2016 at 1:37 PM, lily li <chocold12 at gmail.com> wrote: