convertDataToMatrix {CoGAPS} | R Documentation

## convert any acceptable data input to a numeric matrix

### Description

convert supported R objects containing the data to a numeric matrix, if data is a file name do nothing. Exits with an error if data is not a supported type.

### Usage

    convertDataToMatrix(data)

### Arguments

`data` | data input

### Value

data matrix

[Package CoGAPS version 3.14.0 Index]