treatcomb2factors: Treatment combinations to canonical format

View source: R/biblioteca.R

treatcomb2factorsR Documentation

Treatment combinations to canonical format

Description

This function uses treatment combinations in standard (Yates') order to generate factors canonical format for factorial designs with only two levels.

Usage

treatcomb2factors(data)

Arguments

data

n x 2 data frame containing the experimental data.

Value

the updated data with factors in the canonical format

Examples

library(planex)
data(refrigerantes2k)
head(refrigerantes2k)
refrigerantes2k <- treatcomb2factors(refrigerantes2k)
refrigerantes2k


fndemarqui/planex documentation built on July 9, 2024, 2:13 a.m.