Learn R Programming

FactEff (version 1.0)

analyze_design: Analyze properties of a blocked factorial design with given number of levels of factors and block contents

Description

Returns factorial designs properties such as block sizes, replications of treatments, orthogonal factorial structure or not, efficiencies of main effects and interactions

Usage

analyze_design(factor_levels, blocks)

Value

Returns factorial designs properties such as block sizes, replications of treatments, orthogonal factorial structure or not, efficiencies of main effects and interactions

Arguments

factor_levels

a numeric vector with positive entries, elements denoting levels of factors

blocks

a list of numeric vectors of same size, each vector representing individual block contents of a factorial design.

Examples

Run this code
blocks = as.matrix(autogenerate_design(2,c(3,4),3,2))
blocks = lapply(seq_len(ncol(blocks)), function(i) blocks[, i])
analyze_design(c(3,4), blocks)

Run the code above in your browser using DataLab