View source: R/impute_epochs.R
impute_epochs | R Documentation |
Trim leading and trailing NAs. Fill in the rest of the NAs using cubic spline interpolation.
impute_epochs(agdb, ...)
agdb |
A |
... |
Comma separated list of unquoted variables. |
Atibble
of activity data. Each variable in ...
is imputed.
zoo::na.spline()
, zoo::na.trim()
library("dplyr") data("gtxplus1day") gtxplus1day$axis1[5:10] <- NA gtxplus1day %>% impute_epochs(axis1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.