Description Usage Arguments Value
This function returns the days without adherence to the data collection regimen for any potential missingness analysis. This is important in case there are high levels of missingness in the collected data, which could be correlated with certain covariates.
1 2 | no_adherence(datetime_vector, workdays = "MonThruFri", start_date = NULL,
end_date = NULL)
|
datetime_vector |
The vector of date or datetime values corresponding to observation dates. This will likely be a column in the data frame parsed from Google Sheets. |
workdays |
Either the default supported string or a vector of days considered for adherence. See the examples for alternative uses. |
start_date |
optional, a POSIX date representing an alternative start date |
end_date |
optional, a POSIX date representing an alternative end date |
The returned object will be a Date vector representing all workdays not represented in the input vector. If no days were missed, this vector will have length 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.