formatForBLM: Format data for BLM model

View source: R/biotic_ligand_model.R

formatForBLMR Documentation

Format data for BLM model

Description

Format data for BLM model.

Usage

formatForBLM(
  location,
  sample,
  analyte,
  result,
  ecoregion = "Willamette Valley",
  limit = TRUE,
  total = FALSE
)

Arguments

location

a vector of location identifiers

sample

a vector of sample identifiers

analyte

a vector of analyte names: must match name variable of unexported kBLMParams data.frame

result

a vector of concentrations

ecoregion

the ecoregion to allow regional defaults. Currently not used.

limit

should the output be limited to samples with dissolved copper (or total copper if total = TRUE).

total

should missing dissolved copper by filled with total copper if available


jasonelaw/ORDEQWaterQualityCriteria documentation built on Nov. 4, 2023, 10:59 a.m.