CheckCols: Check Column Names

View source: R/utils.R

CheckColsR Documentation

Check Column Names

Description

Checks to ensure column names are specified

Usage

CheckCols(dat, xcol, ycol, idcol, groupcol = NULL)

Arguments

dat

Dataframe

xcol

Name of x column

ycol

Name of y column

idcol

Name of id column

groupcol

Name of group column

Details

Check column names

Value

Dataframe

Author(s)

Brent Kaplan bkaplan.ku@gmail.com

Examples

dat <- data.frame(price = 1:5, quantity = c(10, 8, 5, 2, 0), subj = rep(1, 5))
CheckCols(dat, xcol = "price", ycol = "quantity", idcol = "subj")

beezdemand documentation built on March 3, 2026, 9:07 a.m.