# NOT RUN {
dfr <- analysisOrganizeData(dataCensored)
# retrieve all corrected chlorophyll-a concentrations for Station CB5.4,
# missing values are removed and transformation applied. Note, a
# warning is displayed indicating that data set has layers but user did
# not specify layer in retrieval. layerAggregation then aggregates per
# specifications
dfr2 <- selectData(dfr[["df"]], 'chla', 'CB5.4', analySpec=dfr[["analySpec"]])
df2 <- dfr2[[1]] # data frame of selected data
iSpec2 <- dfr2[[2]] # meta data about selected data
df2a <- layerAggregation(df2, avgTechnique="mean", layerAggOption=4)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab