too_far_to_na | R Documentation |
NA
if the lie too far from a reference set of valuesSet rows of data to NA
if the lie too far from a reference set of values
too_far_to_na(smooth, input, reference, cols, dist = NULL)
smooth |
an mgcv smooth object |
input |
data frame containing the input observations and the columns to
be set to |
reference |
data frame containing the reference values |
cols |
character vector of columns whose elements will be set to |
dist |
numeric, the distance from the reference set beyond which
elements of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.