binomial.rd: Define constant risk difference or relative risk association...

Description Usage Arguments

View source: R/binomial.rrw.R

Description

Set up model as defined in Richardson, Robins and Wang (2017).

Usage

1
2
3
4
5
6
7
8
9
binomial.rd(
  x,
  response,
  exposure,
  target.model,
  nuisance.model,
  exposure.model = binomial.lvm(),
  ...
)

Arguments

x

model

response

response variable (character or formula)

exposure

exposure variable (character or formula)

target.model

variable defining the linear predictor for the target model

nuisance.model

variable defining the linear predictor for the nuisance model

exposure.model

model for exposure (default binomial logit link)

...

additional arguments to lower level functions


lava documentation built on Sept. 5, 2021, 5:43 p.m.