| highmlr_compare | R Documentation |
Runs several methods and returns a side-by-side comparison of selected features and performance.
highmlr_compare(
data,
time,
status,
features = NULL,
methods = c("coxnet", "rsf", "univariate"),
...
)
data, time, status, features |
As in [highmlr()]. |
methods |
Character vector of methods to compare. |
... |
Passed to each call to 'highmlr()'. |
A list with two elements: 'fits' (named list of 'highmlr_fit' objects) and 'summary' (a tibble of method, n_selected, key metric).
## Not run:
data(hnscc)
cmp <- highmlr_compare(hnscc, "OS", "Death",
methods = c("coxnet", "rsf", "univariate"))
cmp$summary
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.