naive {bonsaiforest} | R Documentation |
Naive Model Estimation
Description
Function to fit the naive models to the data of each one of the subgroups.
Usage
naive(
resp,
trt,
subgr,
data,
resptype = c("survival", "binary"),
status = NULL
)
Arguments
resp |
( |
trt |
( |
subgr |
( |
data |
( |
resptype |
( |
status |
( |
Value
List with fit
, estimates
, model
, resptype
, data
.
Examples
naive("tt_pfs", "arm", c("x_1", "x_2"), example_data, "survival", "ev_pfs")
[Package bonsaiforest version 0.1.0 Index]