check_dataframe_covariate: Check if the covariates are available in a dataframe

Description Usage Arguments

Description

Check if the covariates are available in a dataframe

Usage

1
2
check_dataframe_covariate(df, covariate, response = "Count",
  error = TRUE)

Arguments

df

the data.frame to check

covariate

The right hand side of the model as a character

response

The left hand side of the model as a character

error

When TRUE (default), the function returns an error when a variable is missing. Otherwise it returns a warning.


inbo/n2khelper documentation built on May 18, 2019, 4:49 a.m.