combine_factor_levels: A vectorized version ofthe combn function

Description Usage Arguments See Also

Description

A vectorized version ofthe combn function

Usage

1
combine_factor_levels(x, m, FUNV = NULL, simplify, byrow)

Arguments

x

vector source for combinations, or integer n for x <- seq_len(n).

m

number of elements to choose.

FUNV

a null function

simplify

logical indicating if the result should be simplified to an array (typically a matrix); if FALSE, the function returns a list. Note that when simplify = TRUE as by default, the dimension of the result is simply determined from FUN(1st combination) (for efficiency reasons). This will badly fail if FUN(u) is not of constant length.

byrow

passed to matrix function

See Also

Other factorial-design functions: aov_fgrid, aov_formulate_bw, create_fgrid, expand_fgrid, factor_summary, summary_form_grid


darrellpenta/dissertate documentation built on May 14, 2019, 6:10 p.m.