naive | R Documentation |
Function to fit the naive models to the data of each one of the subgroups.
naive(
resp,
trt,
subgr,
data,
resptype = c("survival", "binary"),
status = NULL
)
resp |
( |
trt |
( |
subgr |
( |
data |
( |
resptype |
( |
status |
( |
List with fit
, estimates
, model
, resptype
, data
.
naive("tt_pfs", "arm", c("x_1", "x_2"), example_data, "survival", "ev_pfs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.