Learn R Programming

gmwm (version 2.0.0)

field_to_matrix: Transform an Armadillo field to a matrix

Description

Unlists vectors in a field and places them into a matrix

Usage

field_to_matrix(x)

Arguments

x
A field.

Value

A mat containing the field elements within a column.

Examples

Run this code
x=rnorm(100)

Run the code above in your browser using DataLab