Displaying 2 results from an estimated 2 matches for "tempfram".
Did you mean:
tempframe
2000 Mar 07
3
Merging data.frames
On Tuesday, March 07, 2000 5:40 PM, Richard Bilonick wrote:
>I need to merge several data.frames into one data.frame. In S-Plus I would
>use
>"merge" but I don't see a merge command in R. What is the best way to
>accomplish
>this?
The easiest way to to this, I think, is as follows:
if you have several data frames, dataframe1, dataframe2, . . . , dataframen,
you
2011 Oct 20
1
stop R from rounding
...9;,'Depth','Temp','Sal','Oxy')
date <- subset(x,select=c(Dec.Year), (Depth<201) & (Depth>199))
datelist <- list(date$Dec.Year)
temp <- subset(x,select=c(Temp), (Depth<201) & (Depth>199))
tempmean <- aggregate(temp,by=datelist,FUN=mean)
tempframe <- data.frame(tempmean) #the first column of this dataframe is the
one that I don't want R to round
Thank you!
--
View this message in context: http://r.789695.n4.nabble.com/stop-R-from-rounding-tp3920803p3920803.html
Sent from the R help mailing list archive at Nabble.com.