data_split {SIAMCAT} | R Documentation

## Retrieve the data split from a SIAMCAT object

### Description

Function to retrieve the data split stored in the `data_split` slot within a SIAMCAT object

### Usage

    data_split(siamcat, verbose=1)

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

### Arguments

`siamcat` | (Required). An instance of siamcat-class containing a data split
`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 returns a list containing information about the data split. See create.data.split for more details.

### Value

A list containing the data split information or `NULL`

### Examples

    data(siamcat_example)
    temp <- data_split(siamcat_example)
    names(temp)

[Package SIAMCAT version 1.6.0 Index]