compute.group.cell.codes: Calculate Unique Subgroup Codes

View source: R/compute.group.cell.codes.R

compute.group.cell.codesR Documentation

Calculate Unique Subgroup Codes

Description

Calculate subgroup codes. Useful for input into other grouping functions and for performing specific tests (ex. one-way ANOVA on multivariate data).

Usage

compute.group.cell.codes(fx, data = NULL, start.at = 1)

Arguments

fx

Formula - defines formula for dependent variable and subgroups ( dv ~ v1 + v2 + ...)

data

Data Frame - data frame with columns corresponding to variables in fx.

start.at

Scalar - A number to start numbering at.

Value

A vector the same length as rows in data containing the results the subgroup code.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.