which_format {diffuStats} | R Documentation

## In which format is the input?

### Description

Tell apart vector, matrix or list of matrices

### Usage

    which_format(x)

### Arguments

`x` | object to evaluate

### Value

character: vector, matrix or list.

### Examples

    data(graph_toy)
    diffuStats:::which_format(graph_toy$input_vec)
    diffuStats:::which_format(graph_toy$input_mat)

[Package diffuStats version 0.104.0 Index]