Description Usage Arguments Value Author(s) References Examples
Draws a boxplot with the highest censoring threshold shown as a horizontal line. Any statistics below this line are invalid are must be estimated using methods for censored data.
1 |
obs |
A numeric vector of observations. |
cen |
A logical vector indicating TRUE where an observation in x is censored (a less-than value) and FALSE otherwise. |
group |
A factor vector used for grouping ‘obs’ into subsets (each group will be a separate box). |
log |
A TRUE/FALSE indicating if the y axis should be in log units. Default it TRUE. |
range |
This determines how far the plot whiskers extend out from the box. If 'range' is positive, the whiskers extend to the most extreme data point which is no more than 'range' times the interquartile range from the box. The default is zero which causes the whiskers to extend to the min and max data values. |
... |
Additional items that get passed to |
Returns the output of the default boxplot
method.
R. Lopaka Lee <rclee@usgs.gov>
Dennis Helsel <dhelsel@practicalstats.com>
Helsel, Dennis R. (2005). Nondectects and Data Analysis; Statistics for censored environmental data. John Wiley and Sons, USA, NJ.
1 2 | data(Golden)
with(Golden, cenboxplot(Blood, BloodCen, DosageGroup))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.