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.


Displayr/flipTransformations documentation built on Feb. 4, 2025, 5:26 a.m.