Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-03 Thread Steven Stoline
Dear All: This is what I was able to come-up with. It looks work good. But not sure NH3Nconcentrations.hist<-c(0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009,0.009, 0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.01,0.02,0.02,0.02,0.02,0.0

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-03 Thread Steven Stoline
Dear David: Could you please check what I did to create a histogram for this data set. Actually, I used barplot for myhist$counts. But I have two problems: *1-* when I rebuild the x-axis, only the label of the first bar appear, but not for the others. *2-* I tried to add frequencies at top of ba

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-02 Thread David Winsemius
> On Jan 2, 2016, at 2:24 AM, Steven Stoline wrote: > > Dear David: > > Thank you very much for the code, it works very good for this data set. > > I just have one more thing (if not bothered you). > > how about if some of the non-censored (fully measured) data equal to the > detection limit

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-01 Thread Jim Lemon
How about this? Sconc<-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) Sconc.tab<-table(cut(Sconc[,1],breaks=seq(1450,1900,by=50), include.lowest=TRUE)) Sc

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-01 Thread David Winsemius
> On Jan 1, 2016, at 3:45 AM, Steven Stoline wrote: > > Dear Rolf: > > > The histogram should contain a bar(s) for the censored data values replaced > by their detection limit(s) with different color than other bars for the > noncensored values . In this example there are only 3 censored value

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-01 Thread Rich Shepard
On Fri, 1 Jan 2016, Steven Stoline wrote: The histogram should contain a bar(s) for the censored data values replaced by their detection limit(s) with different color than other bars for the noncensored values. In this example there are only 3 censored values with only one detection limit of DL

Re: [R] [FORGED] Histogram for Left Censored Data

2016-01-01 Thread Steven Stoline
Dear Rolf: The histogram should contain a bar(s) for the censored data values replaced by their detection limit(s) with different color than other bars for the noncensored values . In this example there are only 3 censored values with only one detection limit of DL = 1450. with many thanks stev

Re: [R] [FORGED] Histogram for Left Censored Data

2015-12-31 Thread Rolf Turner
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,1