as.kfold.prederr {TRONCO} | R Documentation |
Returns a dataframe with all the prediction error score in a TRONCO model. It is possible to specify a subset of events or models if multiple reconstruction have been performed.
as.kfold.prederr( x, events = as.events(x), models = names(x$model), values = FALSE, table = FALSE )
x |
A TRONCO model. |
events |
A subset of events as of |
models |
A subset of reconstructed models, all by default. |
values |
If you want to see also the values |
table |
Keep the original table (defaul false) |
All the bootstrap scores in a TRONCO model
data(test_model_kfold) as.kfold.prederr(test_model_kfold) as.kfold.prederr(test_model_kfold, models='capri_aic')