to_list {diffuStats} | R Documentation

## Convert input to list format

### Description

Convert any input to list format

### Usage

    to_list(scores, dummy_column = "X1", dummy_list = "X1")

### Arguments

`scores` | object to reformat
`dummy_column, dummy_list` | character, names for the dummy columns/items

### Value

scores in list format

### Examples

    data(graph_toy)
    x_v <- diffuStats:::to_list(graph_toy$input_vec)
    x_m <- diffuStats:::to_list(graph_toy$input_mat)

[Package diffuStats version 1.7.0 Index]