qwRPD | R Documentation |
Computes the relative percent differences (RDP) between samples and replicates for data of class "qw."
qwRPD(x, y, incomparables = NA, plotit = FALSE)
x |
sample data of class "qw." |
y |
replicate data of class "qw." |
incomparables |
logical, |
plotit |
logical, if |
A vector of the relative percent differences for each paired sample and duplicate.
If incomparables
is TRUE
, then the vector is class "mcens," otherwise the vector
id numeric.
This function works differently from other functions that process data of class
"qw"—it ignores the reporting level information and uses the data as they are recorded.
The treatment of interval-censored data varies depending on incomparables
. If
incomparables
is set to NA
or FALSE
, then interval-censored data are set to
the midrange, otherwise the data are retained as interval-censored data. Right-censored data
always return NA regardless of incomparables
.
Inverval-censored data are not common and require much additional processing to get accurate ranges for the RPD. Approximate values are returned in this version.
Bland J.M. and Altman D.G., 1986 Statistical methods for assessing agreement between two methods of clinical measurement: Lancet, i, p. 307–310.
rpd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.