Skip to contents

Calculation of slope + offset fro linear post-hoc calibration / correction of SEMACHv3 SCD30 data using GMP252 data [Experimental]

Usage

SEMACHv3_calib(
  dataset = NULL,
  dir_path = NULL,
  cutoff_start = 0,
  cutoff_end = 99999,
  plot = F,
  cal = T,
  min_nrow = 100
)

Arguments

dataset

A single or multiple glued (i.e. bind_rows()) raw SMEACHv3 dataset loaded with load_SEMACHv3_raw (or equivalent). Must contain SCD30 and GMP252 data for at least a part of the dataset.

dir_path

Path to folder containing subfolders with measurements (i.e. several days), or directly to a folder containing measurements

cutoff_start

Of the individual measurements, the first seconds that should be omitted

cutoff_end

Only use measurement data up to this time

plot

Boolean. Should a calibration plot be returned? At least one of plot and cal should be True

cal

Boolean. Should a result table of the calibrations be returned?

min_nrow

Minimum number of datapoints for calculation