Christiane,
You will get replies to your queries more quickly if you include
reproducible code in your question. For example, it would have been
helpful if you had posted the result returned by dput(head(treat)) rather
than just copying and pasting the first few rows of treat.
treat -
Hi,
You can also try:
library(plyr)
treat3 - ddply(treat, .(Zugnacht), mutate, su=min(Vollzeit), sa=max(Vollzeit))
identical(treat2[,c(2,1,3:4)],treat3)
#[1] TRUE
A.K.
On Monday, May 12, 2014 2:46 PM, Adams, Jean jvad...@usgs.gov wrote:
Christiane,
You will get replies to your queries more
Hallo,
I have a table in which I would like to insert the min and max values of
another colum (date and time in as.POSIXct Format).
This is my row table, where su and sa are still the same as Vollzeit:
head(treat)
Vollzeit Datum Zugnacht su
3 matches
Mail list logo