Description Usage Arguments Details Value Author(s) See Also Examples
pctCen
is a simple, but convenient, function that calculates
the percentage of censored values.
1 |
obs |
A numeric vector of observations. This includes both censored and uncensored observations. |
censored |
A logical vector indicating TRUE where an observation in v is censored (a less-than value) and FALSE otherwise. |
na.action |
A function which indicates what should happen
when the data contain |
100*(length(obs[censored])/length(obs))
pctCen
returns a single numeric value representing
the percentage of values censored in the “obs" vector.
R. Lopaka Lee <rclee@usgs.gov>
Dennis Helsel <dhelsel@practicalstats.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.