Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-09 Thread Petr PIKAL
Hi Specifically, since it has only a single detection indicator column (ceneq1), it implies that within any single sample either all the analytes were detected, or all were not. Not what I would expect. Don, I have been thinking about this and wondered whether the cast format

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-08 Thread MacQueen, Don
Hi Rich, I may not have the complete picture here, but I do see what looks to me like a problem with your chem.cast. Specifically, since it has only a single detection indicator column (ceneq1), it implies that within any single sample either all the analytes were detected, or all were not. Not

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-08 Thread Rich Shepard
On Wed, 8 Aug 2012, MacQueen, Don wrote: Specifically, since it has only a single detection indicator column (ceneq1), it implies that within any single sample either all the analytes were detected, or all were not. Not what I would expect. Don, I have been thinking about this and wondered

[R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread Rich Shepard
The sample data sets that come with the NADA package are limited to one or two variables and a censored measurement indicator column. I try to mimic examples using my data but keep missing the target. My water chemistry data is available in two formats: long (as seen in a database table) and

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread R. Michael Weylandt
On Tue, Aug 7, 2012 at 11:26 AM, Rich Shepard rshep...@appl-ecosys.com wrote: The sample data sets that come with the NADA package are limited to one or two variables and a censored measurement indicator column. I try to mimic examples using my data but keep missing the target. My water

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread Rich Shepard
On Tue, 7 Aug 2012, R. Michael Weylandt wrote: Take a look at with() Michael, Thank you. I will. Rich -- Richard B. Shepard, Ph.D. | Integrity - Credibility - Innovation Applied Ecosystem Services, Inc. |Helping Ensure Our Clients' Futures http://www.appl-ecosys.com

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread Rich Shepard
On Tue, 7 Aug 2012, David Winsemius wrote: cenboxplot(chemVdis, chem$ceneq1, chem$era) ___^ Incorrect use of '' when '$' was intended. Mea culpa, David! Thanks for catching my typo. Rich __ R-help@r-project.org mailing list

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread Rich Shepard
On Tue, 7 Aug 2012, R. Michael Weylandt wrote: Take a look at with() Michael, Works like a charm! Thanks again for the pointer. Rich __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] NADA Package: Referencing Data Frame Columns

2012-08-07 Thread David Winsemius
On Aug 7, 2012, at 11:31 AM, R. Michael Weylandt wrote: On Tue, Aug 7, 2012 at 11:26 AM, Rich Shepard rshep...@appl-ecosys.com wrote: The sample data sets that come with the NADA package are limited to one or two variables and a censored measurement indicator column. I try to mimic