models-methods: Retrieve list of trained models from a SIAMCAT object

modelsR Documentation

Retrieve list of trained models from a SIAMCAT object

Description

Function to retrieve the list of trained models

Usage

models(siamcat, verbose=1)

## S4 method for signature 'siamcat'
models(siamcat, verbose = 1)

Arguments

siamcat

(Required). An instance of siamcat-class that contains trained models

verbose

integer, if the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message)

Details

The function extracts the list of trained models.

Value

The list of models or NULL

Examples

data(siamcat_example)
temp <- models(siamcat_example)
temp[[1]]

zellerlab/siamcat documentation built on Feb. 1, 2024, 2:21 a.m.