makeDesigns: Create a DesignOptions object from a formula and some data

View source: R/Design.R

makeDesignsR 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


RItools documentation built on June 22, 2024, 9:06 a.m.