is_col_present: m2c2R

View source: R/is_col_present.R

is_col_presentR Documentation

m2c2R

Description

m2c2R

Usage

is_col_present(data, colname)

Arguments

data

Name of a tibble or data frame

colname

Name of a column to check for, in quotes ("participant_id")

Details

This function checks whether a given column (colname) is in the specified data frame or tibble.

Value

Returns TRUE/FALSE.

Author(s)

Nelson Roque, Nelson.Roque@ucf.edu


nelsonroque/m2c2R documentation built on Oct. 8, 2022, 7:50 a.m.