Description Usage Arguments Value
View source: R/extract_timevarying.R
The extract_timevarying returns a non-sparse table (i.e. rows/hours with no recorded information for a patient are not presented in the table) This function serves to expand the table and fill missing rows with NAs. This is useful when working with most time-series aware stats packages that expect a regular cadance to the table.
1 | expand_missing(df, cadance = 1)
|
df |
a dense time series table produced from extract_timevarying |
cadance |
the cadance by which you want to expand the table (default = 1 hour) |
a sparse time series table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.