Learn R Programming

LinkedMatrix (version 1.4.0)

as.ColumnLinkedMatrix: Converts an Object to a LinkedMatrix Object

Description

Converts an Object to a LinkedMatrix Object.

Usage

as.ColumnLinkedMatrix(x, ...)

# S3 method for list as.ColumnLinkedMatrix(x, ...)

as.RowLinkedMatrix(x, ...)

# S3 method for list as.RowLinkedMatrix(x, ...)

Arguments

x

An object to convert to a LinkedMatrix object.

...

Additional arguments.

Value

A LinkedMatrix object.

See Also

ColumnLinkedMatrix-class, RowLinkedMatrix-class, and LinkedMatrix-class for more information on the ColumnLinkedMatrix, RowLinkedMatrix, and LinkedMatrix classes.

Examples

Run this code
# NOT RUN {
m1 <- ff::ff(initdata = rnorm(50), dim = c(5, 10))
m2 <- bigmemory::big.matrix(init = rnorm(50), nrow = 5, ncol = 10)
m3 <- matrix(data = rnorm(50), nrow = 5, ncol = 10)

myList <- list(m1, m2, m3)

m <- as.ColumnLinkedMatrix(myList)
# }

Run the code above in your browser using DataLab