Learn R Programming

anoint (version 1.4)

anoint.formula: Create a formula.anoint object

Description

Create formula for use with anoint.

Usage

anoint.formula(formula=y~(a+b)*trt,family="binomial")

Arguments

formula
formula specifying analysis of interaction model
family
string indicating model family, should be one of glm families or coxph

Value

Returns instance of formula.anoint class.

Details

The formula should have all subgroups enclosed in parantheses and the treatment variable as an interaction, as shown in default.

See Also

formula.anoint-class,anoint

Examples

Run this code

anoint.formula()

Run the code above in your browser using DataLab