View source: R/check_input_args.R
check_input_args | R Documentation |
Sanity checks for arguments passed to predict_delta_comps()
check_input_args(dataf, y, comps, covars, deltas)
dataf |
A |
y |
Name (as string/character vector of length 1) of outcome variable in |
comps |
Character vector of names of compositions in |
covars |
Character vector of covariates names (non-comp variables) in |
deltas |
A vector of time-component changes (as proportions of compositions , i.e., values between -1 and 1). Optional. |
Throws errors for any problematic input. Returns TRUE
invisibly if no issues found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.