checkInputs | R Documentation |
Check the input values of function parameters for errors.
checkInputs(
ftime,
ftype,
trt,
adjustVars,
t0 = max(ftime[ftype > 0]),
SL.ftime = NULL,
SL.ctime = NULL,
SL.trt = NULL,
glm.ftime = NULL,
glm.ctime = NULL,
glm.trt = "1",
att = FALSE,
returnIC = TRUE,
returnModels = TRUE,
ftypeOfInterest = unique(ftype[ftype != 0]),
trtOfInterest = unique(trt),
method = "hazard",
bounds = NULL,
verbose = FALSE,
tol = 1/(length(ftime)),
maxIter = 100,
Gcomp = FALSE,
stratify = FALSE
)
ftime |
A numeric vector of failure times. Right-censored observations
should have corresponding |
ftype |
A numeric vector indicating the type of failure. Observations
with |
trt |
A numeric vector indicating observed treatment assignment. Each
unique value will be treated as an (unordered) separate type of treatment.
Currently, only two unique values of |
adjustVars |
A |
t0 |
The time at which to return cumulative incidence estimates. By
default this is set to |
SL.ftime |
A character vector or list specification to be passed to the
|
SL.ctime |
A character vector or list specification to be passed to
|
SL.trt |
A character vector or list specification to be passed to
|
glm.ftime |
A character specification of the right-hand side of the
equation passed to the |
glm.ctime |
A character specification of the right-hand side of the
equation passed to the |
glm.trt |
A character specification of the right-hand side of the
equation passed to the |
att |
A |
returnIC |
A |
returnModels |
A |
ftypeOfInterest |
An input specifying what failure types to compute
estimates of incidence for. The default value computes estimates for values
|
trtOfInterest |
An input specifying which levels of |
method |
A character specification of how the targeted minimum
loss-based estimators should be computer, either |
bounds |
A list of bounds. |
verbose |
A |
tol |
The stopping criteria when |
maxIter |
A maximum number of iterations for the algorithm when
|
Gcomp |
A |
Options to be passed to either mean_tmle
or
hazard_tmle
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.