The error seems clear enough to me... you are trying to mix vectors of
different lengths where one length is not a multiple of the other length.
Your discussion is pretty confused though, referring to possible data frames x,
x.sub, x.res and Dataset. You might benefit from reviewing ?str and ?dp
#add column Start
Hello
Good Afternoon I am trying to create a new column in the data frame, the
target is based on a column of dates to extract a value of life and add a
new column to data frame
f<-x.res$T-x.res$duration
Dataset$StarEvent<-(as.character.POSIXt(f))
x.sub$T is:
[1] "2006-10-31
2 matches
Mail list logo