makeDesigns {RItools}R Documentation

Create a DesignOptions object from a formula and some data

Description

The formula must have a left hand side that can be converted to a logical.

Usage

makeDesigns(fmla, data)

Arguments

fmla

Formula

data

Data

Details

On the RHS: - It may have at most one cluster() argument. - It may have one or more strata() arguments. - All other variables are considered covariates.

NAs in a cluster() or strata() variable will be dropped. NAs in covariates will be passed through, but without being flagged as NotMissing (as available data items will)

Value

DesignOptions


[Package RItools version 0.3-4 Index]