Other Conversion Functions
Functions to convert ObjectArrays to lists, and NestMatrix and SectMatrix objects to matrices.
## S3 method for class 'ObjectArray' as.list(x, ...) ## S3 method for class 'NestMatrix' as.matrix(x, ...) ## S3 method for class 'SectMatrix' as.matrix(x, ...)
x |
An ObjectArray/NestMatrix or PartMatrix/SectMatrix object. |
... |
Ignored. |
x <- NestMatrix (2, 2) x [[1, 1]] <- matrix ("AA", 2, 2) x [[1, 2]] <- matrix ("AB", 2, 2) x [[2, 1]] <- matrix ("BA", 2, 2) x [[2, 2]] <- matrix ("BB", 2, 2) x as.matrix (x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.