check_dataframe: Check a data.frame

View source: R/check.R

check_dataframeR Documentation

Check a data.frame

Description

Check a data.frame

Usage

check_dataframe(dataframe, req_vars, req_types, rows)

Arguments

dataframe

A data.frame to check.

req_vars

A character vector of variables that are required.

req_types

A character vector of types for each required variable.

rows

Integer specifying the number of rows the data.frame should have.

See Also

Functions used for checking inputs check_observations(), check_param(), check_quantiles()


epiforecasts/forecast.vocs documentation built on May 14, 2023, 2 p.m.