exampledata {cohetsurr} | R Documentation |
Example data
Description
Example data
Usage
data("exampledata")
Format
A list with 7 elements representing 1000 observations from a treatment group and 1000 observations from a control group, and a grid of baseline covariate values at which to calculate estimates:
y
the outcome
s
the surrogate marker
a
the treatment assignment, where 1 indicates treatment and 0 indicates control
w1
the first baseline covariate of interest
w2
the second baseline covariate of interest
w1.grid
the grid of first baseline covariate values to provide estimates for
w2.grid
the grid of second baseline covariate values to provide estimates for
Examples
data(exampledata)
names(exampledata)
[Package cohetsurr version 1.0 Index]