Description Usage Arguments Value Examples
View source: R/fb_set_missing.R
Sets observations to missing (NA) for specified traits
1 | fb_set_missing(fbt, traits, unique_ids)
|
fbt |
A Field Book Table object. |
traits |
A |
unique_ids |
A |
An fbt object with the specified observations set to missing (i.e. NA
)
1 2 3 4 5 6 7 8 | data("fbt_sample")
# Detect the outlier in the 'OneOutlier' trait using 'fb_outliers()'
outliers <- fb_outliers(fbt = fbt_sample, traits = "OneOutlier")
# Set this outlier to NA
fbt1 <- fb_set_missing(fbt = fbt_sample, traits = "OneOutlier", unique_ids = "13RPN00010")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.