newLearning: Complete a Learning Analysis

Description Usage Arguments Value

Description

Performs a weighted learning analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.newLearning(fSet, kernel, ...)

## S4 method for signature ''NULL',Kernel'
.newLearning(
  fSet,
  kernel,
  ...,
  moPropen,
  moMain,
  moCont,
  data,
  response,
  txName,
  lambdas,
  cvFolds,
  iter,
  surrogate,
  suppress,
  guess,
  createObj,
  prodPi = 1,
  index = NULL
)

## S4 method for signature ''function',Kernel'
.newLearning(
  fSet,
  kernel,
  ...,
  moPropen,
  moMain,
  moCont,
  data,
  response,
  txName,
  lambdas,
  cvFolds,
  iter,
  surrogate,
  suppress,
  guess,
  createObj,
  prodPi = 1,
  index = NULL
)

## S4 method for signature ''function',SubsetList'
.newLearning(
  fSet,
  kernel,
  moPropen,
  moMain,
  moCont,
  data,
  response,
  txName,
  lambdas,
  cvFolds,
  iter,
  surrogate,
  suppress,
  guess,
  createObj,
  prodPi = 1,
  index = NULL,
  ...
)

Arguments

fSet

NULL or function defining subset rules

kernel

Kernel object or SubsetList

...

Additional inputs for optimization

moPropen

modelObj for propensity model

moMain

modelObj for main effects of outcome model

moCont

modelObj for contrasts of outcome model

data

data.frame of covariates

response

Vector of responses

txName

Tx variable column header in data

lambdas

Tuning parameter(s)

cvFolds

Number of cross-validation folds

iter

Maximum number of iterations for outcome regression

surrogate

Surrogate object

suppress

T/F indicating if prints to screen are executed

guess

optional numeric vector providing starting values for optimization methods

createObj

A function name defining the method object for a specific learning algorithm

prodPi

A vector of propensity weights

index

The subset of individuals to be included in learning

Value

A Learning object


DynTxRegime documentation built on Nov. 10, 2020, 1:08 a.m.