convertDataToMatrix: convert any acceptable data input to a numeric matrix

View source: R/HelperFunctions.R

convertDataToMatrixR 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


CoGAPS/CoGAPS documentation built on June 23, 2024, 5:19 p.m.