| bru_is_linear | R Documentation |
Checks if a predictor expression is linear (or affine)
bru_is_linear(x, ...)
## S3 method for class 'bru'
bru_is_linear(x, ...)
## S3 method for class 'bru_info'
bru_is_linear(x, ...)
## S3 method for class 'bru_model'
bru_is_linear(x, ...)
## S3 method for class 'bru_obs'
bru_is_linear(x, ...)
## S3 method for class 'bru_obs_list'
bru_is_linear(x, ...)
## S3 method for class 'bru_pred_expr'
bru_is_linear(x, ...)
## S3 method for class 'bru_comp_list'
bru_is_linear(x, ...)
## S3 method for class 'bru_comp'
bru_is_linear(x, ...)
## S3 method for class 'bru_mapper'
bru_is_linear(x, ...)
x |
A object containing a predictor definition |
... |
Arguments passed on recursively. |
TRUE if the expression is detected to be linear, FALSE
otherwise.
bru_is_linear(new_bru_pred_expr(~ x + y))
bru_is_linear(new_bru_pred_expr(~ x * y))
bru_is_linear(bm_scale())
bru_is_linear(bm_logsumexp())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.