Description Usage Arguments Value Examples
For example, if you have a lab measurement and want it to be valid for the next 6 hours this function can be used to set the next 6 hours if no other measurment has been made. Only NA's are filled in.
1 | fillDown(meas_col, time_col, carry_forward = lubridate::hours(6))
|
meas_col |
column to carry forward |
time_col |
column that defines what "time" a measurment is taken. Can be any data type that supports numeric operations. |
carry_forward |
how long to carry a measurement forward for. Must be the same type as 'time_col' |
vector type same as meas_col
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.