fp_treatments: Factorial Plan List of Treatments

View source: R/factorial_plan.R

fp_treatmentsR Documentation

Factorial Plan List of Treatments

Description

Builds a list of treatments from a formula, or from a number of factors.

Usage

fp_treatments(arg)

Arguments

arg

Either a formula or a number of factors. If it is a formula, the factors are extracted from it. If it is a number, the factors are the first n capital letters.

Details

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

Value

A list of treatments (character vector).

Examples

fp_treatments(3)

adas.utils documentation built on April 12, 2025, 1:52 a.m.