Displaying 1 result from an estimated 1 matches for "fbfollowers".
2013 Oct 27
2
numeric data being interpreted as a factor -trouble with reading data into a dataframe in R
Hello.
trying to do one of the simplest actions -read in data into R.
I don't know why the FBfollowers column is being read as a factor and also
if I use as.numeric on it, it looks really strange and actually complety
alters the data.
I am attaching the data set here called ddd.csv
I used
data=read.csv("ddd.csv",header=TRUE)
fb=data$FBfollowers
fb
fb=as.numeric(fb)
fb
Thnxs in advance