[R] [FORGED] Histogram for Left Censored Data
Rolf Turner
r.turner at auckland.ac.nz
Thu Dec 31 22:16:38 CET 2015
On 31/12/15 23:20, Steven Stoline wrote:
> Dear All:
>
> I need helps with creating histograms for data that include left
> censored observations.
>
> Here is an example of left censored data
>
>
>
> *Sulfate.Concentration*
><-matrix(c(1450,1800,1840,1820,1860,1780,1760,1800,1900,1770,1790,
> 1780,1850,1760,1450,1710,1575,1475,1780,1790,1780,1450,1790,1800,
> 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0),24,2)
>
>
> *Column 2* is an indicator for censoring "*1*" for left censored
> observations and "*0*" for non-censored (fully measured)
> observations.
And what, pray tell, do you want the resulting histogram to look like?
See e.g. fortune("mind_read").
cheers,
Rolf Turner
--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
More information about the R-help
mailing list