Learn R Programming

adas.utils (version 1.0.0)

fp_effect_names: Factorial Plan effect names from a formula

Description

Returns the effect names from a formula, according to Yates' convention.

Usage

fp_effect_names(arg)

Value

An ordered factor with the effect names.

Arguments

arg

A formula.

Details

Defining relationships are represented as one side formulas, e.g. $I=ABC$ becomes ~A*B*C.

Examples

Run this code
fp_effect_names(~A*B*C)

Run the code above in your browser using DataLab