powered by
Insert observations into a data set
expand_observations(data, times, unique = FALSE)
a data set or event object
a vector of observation times
`logical`; if `TRUE` then values for `time` are dropped if they are found anywhere in `data`
A data frame
Non-numeric columns will be dropped with a warning.
# NOT RUN { data <- expand.ev(amt = c(100,200,300)) expand_observations(data, times = seq(0,48,2)) # }
Run the code above in your browser using DataLab