View source: R/weight_at_age-.R
weight_at_age_outlier | R Documentation |
Get weight-at-age data and identify any outliers using three screening methods.
Data in September of 2003 are screened for fish less than 0.52 kg and greater than 45 cm in length.
Data are screen for a weight-length relationship beyond that deemed to be normal, i.e., 20e-6length^3 and 2e-6length^3.
Identify fish with a recorded age of greater than or equal to 99, which
is sometimes used for data that should be flagged or not used instead of
an NA
value.
These protocols started in 2011.
weight_at_age_outlier(data, filter = TRUE, drop = TRUE)
plot_weight_at_age_outlier(data, ...)
data |
A data frame of weight-at-age values. |
filter |
A logical specifying if the outliers should be removed or not. The default is to remove them. |
drop |
A logical specifying if the new column called |
A data frame with the same columns or one more column, i.e.,
outlier
, than the input data frame.
Kelli F. Johnson
Other weight-at-age:
weight_at_age_read()
Other weight-at-age:
weight_at_age_read()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.