as.ColumnLinkedMatrix: Converts an Object to a LinkedMatrix Object

Description Usage Arguments Value See Also Examples

View source: R/ColumnLinkedMatrix.R

Description

Converts an Object to a LinkedMatrix Object.

Usage

1
2
3
4
5
6
7
8
9
as.ColumnLinkedMatrix(x, ...)

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

as.RowLinkedMatrix(x, ...)

## S3 method for class '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

1
2
3
4
5
6
7
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)

QuantGen/LinkedMatrix documentation built on May 28, 2020, 10:51 p.m.