getpreds.blip.fun: Predictions

View source: R/2helperFunctions.R

getpreds.blip.funR Documentation

Predictions

Description

Get library predictions (what would be library.predict) for blip. Code mostly from SuperLearner.

Usage

getpreds.blip.fun(
  Y,
  X,
  newX = NULL,
  family = gaussian(),
  SL.library,
  id = NULL,
  verbose = FALSE,
  control = list(),
  obsWeights = NULL,
  env = parent.frame()
)

Arguments

Y

outcome

X

predictors

newX

new X

family

family

SL.library

SL library

id

for unique ids

verbose

verbose

control

control

obsWeights

obsWeights

env

env

Value

predicted blips


lmmontoya/SL.ODTR documentation built on Feb. 24, 2024, 10:46 a.m.