frameToMatrix: Transform data.frame to matrix

Description Usage Arguments Value Examples

View source: R/frameToMatrix.R

Description

Function to transform a data frame into a matrix

Usage

1
frameToMatrix(dataset)

Arguments

dataset

A list of data sets

Value

A list of matrix transformed from the list of data frames

Examples

1
2
3
4
5
dataset = list(
matrix(runif(5000, 1, 2), nrow = 100, ncol = 50),
matrix(runif(5000, 1, 2), nrow = 100, ncol = 50)
)
frameToMatrix(dataset)

CHuanSite/PJD documentation built on Oct. 26, 2021, 1 p.m.