Arith-censored | R Documentation |
lcens
, mcens
, and qw
objectsSome limited arithmetic methods are possible and well-defined for censored data. Water-quality data require specialized functions to maintain data integrity.
## S4 method for signature 'lcens,numeric' Arith(e1, e2) ## S4 method for signature 'numeric,lcens' Arith(e1, e2) ## S4 method for signature 'lcens,lcens' Arith(e1, e2) ## S4 method for signature 'mcens,numeric' Arith(e1, e2) ## S4 method for signature 'numeric,mcens' Arith(e1, e2) ## S4 method for signature 'mcens,mcens' Arith(e1, e2) ## S4 method for signature 'qw,numeric' Arith(e1, e2) ## S4 method for signature 'numeric,qw' Arith(e1, e2) ## S4 method for signature 'qw,qw' Arith(e1, e2)
e1, e2 |
numeric, censored, or water-quality data. Missing values are permitted in either argument and result in a missing value in the output. |
An object of the appropriate class for the data.
add
, ratio
as.lcens(c(1, 3), 2) + 1 as.lcens(c(1, 3), 2) * 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.