check_user_select_smooths | R Documentation |
Given a vector indexing the smooths of a GAM, returns a logical vector selecting the requested smooths.
check_user_select_smooths(
smooths,
select = NULL,
partial_match = FALSE,
model_name = NULL
)
smooths |
character; a vector of smooth labels. |
select |
numeric, logical, or character vector of selected smooths. |
partial_match |
logical; in the case of character |
model_name |
character; a model name that will be used in error messages. |
A logical vector the same length as length(smooths)
indicating
which smooths have been selected.
Gavin L. Simpson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.