View source: R/bru.inference.R
bru_is_additive | R Documentation |
Checks if a predictor expression is additive or not
bru_is_additive(x, ...)
## S3 method for class 'data.frame'
bru_is_additive(x, root_id = 0, ..., verbose = FALSE)
## S3 method for class 'character'
bru_is_additive(x, ...)
## S3 method for class 'expression'
bru_is_additive(x, ...)
## S3 method for class 'formula'
bru_is_additive(x, ...)
x |
A predictor |
... |
Arguments passed on recursively. |
verbose |
logical; if |
TRUE
if the expression is detected to be additive, FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.