CreatingFactorDependentVariableIfNecessary: Turn the outcome variable from a formula into a factor

View source: R/variable.R

CreatingFactorDependentVariableIfNecessaryR Documentation

Turn the outcome variable from a formula into a factor

Description

if not already a factor.

Usage

CreatingFactorDependentVariableIfNecessary(formula, data)

Arguments

formula

A formula.

data

A data.frame containing the variable.


NumbersInternational/flipTransformations documentation built on Feb. 26, 2024, 6:43 a.m.