NADA Package: Referencing Data Frame Columns
On Aug 7, 2012, at 11:31 AM, R. Michael Weylandt wrote:
On Tue, Aug 7, 2012 at 11:26 AM, Rich Shepard <rshepard at 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. snipped Is the appropriate way to use the NADA methods for analyses and plotting to subset each chemical separately from the 'chem' data frame? Or, is there a syntax other than, for example,
_____
cenboxplot(chem&Vdis, chem$ceneq1, chem$era) _______________^ Incorrect use of '&' when '$' was intended.
Error in cenros(obs[group == i], cen[group == i]) : error in evaluating the argument 'obs' in selecting a method for function 'ros': Error: object 'Vdis' not found I get the same error when trying to use the 'chem.cast' data frame.
Take a look at with() Michael
David Winsemius, MD Alameda, CA, USA