Displaying 1 result from an estimated 1 matches for "separatel".
Did you mean:
separately
2005 Apr 07
1
Assigning "dates" attribute
Dear List,
I have a one-column data set in .csv format.
I used read.csv to import the data into R, as follows:
x <- read.csv("data.csv", header = TRUE, sep = ",")
The data points have a 'dates' attribute, which is in
a separatel .csv file. I used the same command as
above to import it into R.
To assoicate the 'dates' attribute with the data
points, I did:
> attributes(x)<-date
Which resulted in:
Error in "attributes<-"(`*tmp*`, value = date) :
attributes must be in a list
So then I did:
&g...