Displaying 2 results from an estimated 2 matches for "measurement3".
Did you mean:
measurements
2010 Sep 24
2
Data manipulation in R
...pes (fortunately only one value per measurement type
per day).
I want to know how I can separate this into multiple columns by measurement
type averaged over the range of dates available. The output would have a
single averaged measurement value per site.
Site, Measurement 1, measurement2, measurement3, etc.
I have been reading it in as a matrix as.matrix(read.table("myfile.txt",
headers=TRUE)), but I don't quite know what to do with it afterward.
Thanks
[[alternative HTML version deleted]]
2007 Oct 26
2
how do i find the annual maximun within several years?
dear kind helper,
i would like to know how to find the annual maximun for a table that
basicly looks like this:
date time measurement1 measurement2 measurement3
mm/dd/yyyy hh:mm:ss m1 m2 m3
there are about 9000 measurements for each year, which makes it quite
large...
i already tried to subset all rows for a year, to find the maximum
within these choosen rows,
y <- grep(yyyy,table[,1],value=TRUE)
df <-table[with(table, date == y), ]
df[with(df, m...