ratio | R Documentation |
Computes ratios from water-quality or other data and maintain the integrity of the data, as opposed to methods that use simple substitution
ratio(numerator, denominator)
numerator |
any valid vector that can be converted to class "mcens." Missing values are permitted but result in missing values in the output. |
denominator |
any valid vector that can be converted to class "mcens." Missing values are permitted but result in missing values in the output. |
Objects of class "qw" are converted to class "mcens" using the qw2mcens
function, which preserves the minimum value of 0 for "less than" data rather
than as.mcens
, which converts the to left-censored values.
An object of class "mcens" that is the result of the requested division.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.