check.input: Check Input for Functions in the bigleaf Package

View source: R/check_input.r

check.inputR Documentation

Check Input for Functions in the bigleaf Package

Description

Checks length and type of the provided input variables.

Usage

check.input(data, ...)

Arguments

data

Input data.frame or matrix

...

Input variables. Either a list or individual vectors

Note

This function can be run for named variables (in which case the return value will be named according to the given name), or for placeholder variables that are assigned and named according to e.g. entries of a character vector. In the latter case, the input variable has to be named as "var" or "var_qc".


bigleaf documentation built on Aug. 22, 2022, 9:09 a.m.