bru_is_additive {inlabru} | R Documentation |
Check for predictor expression additivity
Description
Checks if a predictor expression is additive or not
Usage
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, ...)
Arguments
x |
A predictor |
... |
Arguments passed on recursively. |
verbose |
logical; if |
Value
TRUE
if the expression is detected to be additive, FALSE
otherwise.
[Package inlabru version 2.13.0 Index]