Description Usage Arguments Value Functions
Functions to calculate boundary nutrient concentrations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | boundaries_all(data, yvar = "y.u", xvar = "x.u", status_boundaries = c(HG
= 0.8, GM = 0.6, MP = 0.4), class_var = "status")
boundaries_ols(data, yvar = "y.u", xvar = "x.u", status_boundaries = c(HG
= 0.8, GM = 0.6, MP = 0.4))
boundaries_ols_XonY(data, yvar = "y.u", xvar = "x.u",
status_boundaries = c(HG = 0.8, GM = 0.6, MP = 0.4))
boundaries_RMA(data, yvar = "y.u", xvar = "x.u", status_boundaries = c(HG
= 0.8, GM = 0.6, MP = 0.4))
boundaries_MM(data, yvar = "y.u", xvar = "x.u", status_boundaries = c(HG =
0.8, GM = 0.6, MP = 0.4))
boundaries_AdjQ(data, yvar = "y.u", xvar = "x.u", class_var = "status")
boundaries_medians(data, yvar = "y.u", xvar = "x.u", class_var = "status")
boundaries_q75(data, yvar = "y.u", xvar = "x.u", class_var = "status")
|
data |
Appropriate water quality data for estimating nutrient status boundaries |
yvar |
The name of the response variable, typically EQR. Defaults to y.u |
xvar |
The name of the pressure variable, e.g. total phosphorus. Defaults to x.u |
status_boundaries |
A named vector of status boundaries on the scale of |
class_var |
name of variable defining status classes. Defaults to "status". |
a named vector of estimated nutrient boundaries on the scale of xvar
boundaries_all
: A wrapper function to estimate boundaries using all methods
boundaries_ols
: Estimates nutrient boundaries using ordinary-least-squares
boundaries_ols_XonY
: Estimates nutrient boundaries using ordinary-least-squares
boundaries_RMA
: Estimates nutrient boundaries using Ranged Major Axis regression.
boundaries_MM
: Estimates nutrient boundaries using the "mismatch" method of minimising the difference between two types of missclassification.
boundaries_AdjQ
: Estimates nutrient boundaries using the "adjusted quartiles" method.
boundaries_medians
: Estimates nutrient boundaries as the mean of the median concentrations in adjacent classes
boundaries_q75
: Estimates nutrient boundaries as the upper quartile of the relevant status class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.