superlearner_estimate: Run the superlearner model with pseudo observations as the...

Description Usage Arguments Value

Description

Run the superlearner model with pseudo observations as the outcome

Usage

1
2
superlearner_estimate(data, Y = "cause1.pseudo", X = paste0("X", 1:20),
  Y2 = "cause2.pseudo", SL.library = NULL)

Arguments

data

A data frame with pseudo observations and a set of predictors

Y

character string for the outcome variable in data

X

character vector for the predictor variables in data

Y2

character string for the pseudo-observations of the competing outcome

SL.library

optional list of SL library methods

Value

A fitted model object


sachsmc/pseupersims documentation built on June 12, 2019, 1:14 p.m.