pred_matrix-methods: Retrieve the prediction matrix from a SIAMCAT object

Description Usage Arguments Details Value Examples

Description

Function to retrieve the prediction matrix from a SIAMCAT object

Usage

1
2
3
4
pred_matrix(siamcat, verbose=1)

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

Arguments

siamcat

(Required). A siamcat-class object that contains a prediction matrix

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 functions returns a matrix containing the predictions for all samples across the different cross-validation repeats. See make.predictions for more information.

Value

A matrix containing predictions or NULL

Examples

1
2
3

SIAMCAT documentation built on Nov. 8, 2020, 5:14 p.m.