Description Usage Arguments Details Value Author(s) See Also Examples
Identify events such as strings of NA and then linearly interpolating across them
1 |
dat |
data set that the interpolated dataset will go into |
x |
A logical statement in which the output is TRUE or FALSE |
clip |
Defaults to "none", If set to "buffer" a false if placed on each end of the string,if set to TRUE the data is clipped to the first and last time when the event did not occur |
na.rm |
TRUE/FALSE should NAs be handled |
nas |
if na.rm is set to true, what should NAs be replaced with TRUE/FALSE |
duration |
Numeric number selecting the minimum duration of an event |
See description of event
Returns a vector the same length as the original dataset, yet values are linearly interpolated where the event is true
Connor F. White
event, eventMean
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.