factor_columns: Check whether each column in a data frame is a factor

View source: R/model_utils.R

factor_columnsR Documentation

Check whether each column in a data frame is a factor

Description

Check whether each column in a data frame is a factor

Usage

factor_columns(df)

Arguments

df

Data frame to process

Value

Logical vector with same number of entries as columns in df. Each entry is TRUE if the corresponding column is a factor.


regressinator documentation built on Sept. 11, 2024, 6:50 p.m.