Learn R Programming

anoint (version 1.5)

anoint.formula: Create a formula.anoint object

Description

Create formula for use with anoint.

Usage

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

Value

Returns instance of formula.anoint class.

Arguments

formula

formula specifying analysis of interaction model

family

string indicating model family, should be one of glm families or coxph

Author

Stephanie Kovalchik <s.a.kovalchik@gmail.com>

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