chlcoef: Calculation of extracted versus fluoresced chlorophyll...

View source: R/chlcoeff.R

chlcoefR Documentation

Calculation of extracted versus fluoresced chlorophyll coefficients

Description

Calculate extracted versus fluoresced chlorophyll coefficients

Usage

chlcoef(yearmon, varlist = NA, remove.flags = TRUE, overwrite = FALSE,
  fdir = getOption("fdir"), polypcut = 0.6, corcut = 0.7,
  streamcov = 0.5, checkvif = TRUE, logtransform = FALSE)

Arguments

yearmon

numeric date of survey

varlist

character vector of variable names to use in model

remove.flags

logical trim dataset based on flags?

overwrite

logical overwrite previous coefficients?

fdir

file.path to data folder

polypcut

numeric used to switch to a polynomial regression fit

corcut

numeric used to screen bad variables with bad correlation coefficients

streamcov

numeric percentage of non-missing streaming data used to exclude variables under consideration

checkvif

logical check final equation for multicollinearity using VIF?

logtransform

logical

Details

this function should be interactive

Examples

## Not run: 
chlcoef(201308)
chlcoef(201606, varlist = c("chl.ug.l", "turb.ntu", "phycoc", 
"c6cdom", "c6chl", "phycoe"), corcut = 0.75)

## End(Not run)

jsta/DataflowR documentation built on Sept. 27, 2022, 11:13 p.m.