get_vct_range: Find min/max for a data column / quantile pair in VCT files

View source: R/psd.R

get_vct_rangeR Documentation

Find min/max for a data column / quantile pair in VCT files

Description

Find min/max for a data column / quantile pair in VCT files

Usage

get_vct_range(
  vct_files,
  data_cols,
  quantile,
  pop = NULL,
  ignore_dates = NULL,
  refracs = NULL,
  cores = 1
)

Arguments

vct_files

Vector of VCT file paths.

data_cols

Character vector of VCT columns to use as size metric: fsc_small, chl_small, pe, Qc, or diam. For Qc and diam, refractive index alias and quantile will be added to the column name automatically. If refracs is provided, the appropriate refractive index will automatically be applied to Qc and diam and only Qc and diam will be returned as column names if requested. i.e. there will be no refractive index alias suffix such as "_lwr".

quantile

OPP Filtering quantile.

pop

Single population label to filter for.

ignore_dates

Don't process VCT data with these dates.

refracs

Dataframe of refractive indices to use for each population. Column names should be population names used in classification, values should be mid, lwr, upr. If NULL all refractive indexes will be used.

cores

Number of cores to use

Value

Two item numeric vector of c(min_val, max_val)


armbrustlab/popcycle documentation built on April 1, 2024, 2:41 p.m.