Learn R Programming

contrastable (version 1.0.2)

.get_dimnames: Get dimnames of contrasts from factor

Description

Given a factor, extract the row and column names of the contrasts. If they're not set, then use default values. Also helps to catch invalid usage of polynomial contrasts.

Usage

.get_dimnames(factor_col)

Value

List of rownames and column names

Arguments

factor_col

Factor to extract contrasts from