as.kfold.posterr: as.kfold.posterr

View source: R/as.functions.R

as.kfold.posterrR Documentation

as.kfold.posterr

Description

Returns a dataframe with all the posterior classification error score in a TRONCO model. It is possible to specify a subset of events or models if multiple reconstruction have been performed.

Usage

as.kfold.posterr(
  x,
  events = as.events(x),
  models = names(x$model),
  values = FALSE,
  table = FALSE
)

Arguments

x

A TRONCO model.

events

A subset of events as of as.events(x), all by default.

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)

Value

All the posterior classification error scores in a TRONCO model

Examples

data(test_model_kfold)
data(test_model)
as.kfold.posterr(test_model_kfold)
as.kfold.posterr(test_model_kfold, events=as.events(test_model)[5:15,])


BIMIB-DISCo/TRONCO documentation built on Nov. 5, 2024, 3:44 a.m.