fCheckFLXCols: Check whether column exists and export numeric vector

Description Usage Arguments

View source: R/fCheckFLXCols.R

Description

Given a dataframe and a column name that you would expect to find within (e.g. "NEE_VUT_USTAR50"), this function checks whether the column exists. If it does, it's exported as a vector. If the column is not found, an error message is presented and NA values are supplied to the vector.

Usage

1

Arguments

dat

a dataframe.

col

a column name.


ksmiff33/FluxSynthU documentation built on Dec. 15, 2020, 10:29 p.m.