Select smooths based on user's choices
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)
smooths |
character; a vector of smooth labels. |
select |
numeric, logical, or character vector of selected smooths. |
partial_match |
logical; in the case of character |
A logical vector the same length as length(smooths)
indicating
which smooths have been selected.
Gavin L. Simpson
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.