Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

newRWL-methods

Complete a Residual Weighted Learning Analysis


Description

Complete a Residual Weighted Learning Analysis

Usage

## S4 method for signature 'Kernel'
.newRWL(
  moPropen,
  moMain,
  responseType,
  data,
  response,
  txName,
  lambdas,
  cvFolds,
  surrogate,
  guess,
  kernel,
  fSet,
  suppress,
  ...
)

Arguments

moPropen

modelObj for propensity modeling

moMain

modelObj for main effects

responseType

Character indicating type of response

data

data.frame of covariates

response

vector of responses

txName

treatment variable column header in data

lambdas

tuning parameter(s)

cvFolds

number of cross-validation folds

surrogate

Surrogate object

guess

optional numeric vector providing starting values for optimization methods

kernel

Kernel object

fSet

Function or NULL defining subsets

suppress

T/F indicating if prints to screen are executed

...

Additional inputs for optimization

txVec

treatment vector recast as +/- 1

Value

An RWL object


DynTxRegime

Methods for Estimating Optimal Dynamic Treatment Regimes

v4.10
GPL-2
Authors
S. T. Holloway, E. B. Laber, K. A. Linn, B. Zhang, M. Davidian, and A. A. Tsiatis
Initial release
2022-06-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.