ffi_qaqc: Generate a QA/QC document

View source: R/qaqc.R

ffi_qaqcR Documentation

Generate a QA/QC document

Description

Generate a QA/QC document

Usage

ffi_qaqc(
  flux_data,
  group_column,
  output_file = "qaqc.html",
  output_dir = getwd(),
  open_output = TRUE
)

Arguments

flux_data

A data frame from ffi_compute_fluxes or similar

group_column

Name of the grouping label column in flux_data, character; pass NULL to run with no grouping

output_file

Name of the output file

output_dir

Name of the output directory; default is current working directory

open_output

Automatically open the output HTML file?

Value

The path of the output file.

Examples

# We don't run this example because of tempfile errors on CRAN,
# but it works fine otherwise!
## Not run: 
# Toy data
cars$Plot <- c("A", "B")
fd <- ffi_compute_fluxes(cars, "Plot", "speed", "dist")
x <- ffi_qaqc(fd, group_column = "Plot")
file.remove(x) # clean up

## End(Not run)
# See the introductory vignette for a fully-worked example with real data

fluxfinder documentation built on Sept. 9, 2025, 5:39 p.m.