factor_length: Determine the length of the factors in a data.frame

Description Usage Arguments Value

View source: R/util.R

Description

Goes through every column in the data.frame, and return the length of its levels

Usage

1

Arguments

df

A data.frame

Value

A vector of length n, with n the number of factor columns in the data frame, containing the length of the levels of those factors


crtests documentation built on May 29, 2017, 11:52 a.m.