Learn R Programming

caracas (version 2.1.1)

as_vec: Stacks matrix to vector

Description

Stacks matrix to vector

Usage

as_vec(x)

Arguments

x

Matrix

Examples

Run this code
if (has_sympy()) {
  A <- as_sym(matrix(1:9, 3))
  as_vec(A)
}

Run the code above in your browser using DataLab