Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LNX.2.00.1207051311310.11434@salmo.appl-ecosys.com>
Date: 2012-07-05T20:15:33Z
From: Rich Shepard
Subject: NADA Data Frame Format: Wide or Long?
In-Reply-To: <CC1B3E36.A05E6%macqueen1@llnl.gov>

On Thu, 5 Jul 2012, MacQueen, Don wrote:

> This example follows exactly the example in ?cenros.

>    with( subset(yourdataframe, param=='Ag'),  cenros(quant,ceneq1) )

> This should do a simple censored summary statistica calculation for silver
> (assuming quant contains your reporting level for censored results, which
> appears to be the case).

Don,

   That makes sense to me. I was hoping to avoid subsetting the data frame
for each of the 37 chemical parameters, but ... I will review the use of
with().

> I'd also suggest you try to load your data so that site and param are not
> factors, though this could depend on your ultimate analysis.

   I do need to differentiate results by site and chemical paramater.

Many thanks,

Rich