save_DARLEQ: Saves results of diatom EQR and class claculation to an Excel...

View source: R/save_darleq.R

save_DARLEQR Documentation

Saves results of diatom EQR and class claculation to an Excel file

Description

Saves results of diatom EQR and class claculation to an Excel file

Usage

save_DARLEQ(d, outFile = NULL, fn = "", sheet = "", verbose = TRUE)

Arguments

d

list of sample and site EQR WFD class results, usually the output from calc_Metric_EQR

outFile

name of Excel file to save results.

fn

name of in the input file for inclusion in the job summary page of output.

sheet

name of the input worksheet for inclusion in the job summary page of output.

verbose

logical to indicate if function should stop immediately on error (TRUE) or return a simpleError (FALSE). Defaults to TRUE.

Author(s)

Steve Juggins Stephen.Juggins@ncl.ac.uk

Examples

fn <- system.file("extdata/DARLEQ2TestData.xlsx", package="darleq3")
d <- read_DARLEQ(fn, "Rivers TDI Test Data")
x <- calc_Metric_EQR(d)
save_DARLEQ(x, outFile="results.xlsx")


nsj3/darleq3 documentation built on Oct. 11, 2023, 4:37 a.m.