asMatrixCols: Extracts a named element from a list of lists.

Description Usage Arguments Value

View source: R/asMatrix.R

Description

Extracts a named element from a list of lists.

Usage

1
2
3
asMatrixCols(xs, row.names, col.names)

asMatrixRows(xs, row.names, col.names)

Arguments

xs

[list]
A list of vectors of the same length.

row.names

[character | integer | NULL]
Row names of result. Default is to take the names of the elements of xs.

col.names

[character | integer | NULL]
Column names of result. Default is to take the names of the elements of xs.

Value

[matrix].



BBmisc documentation built on May 19, 2017, 8:57 p.m.
Search within the BBmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.