Learn R Programming

caracas (version 2.0.0)

matrix_: Symbolic matrix

Description

Symbolic matrix

Usage

matrix_(..., declare_symbols = TRUE)

Arguments

...

Passed on to matrix()

declare_symbols

Passed on to as_sym() when constructing symbolic matrix

Examples

Run this code
if (has_sympy()) {
  matrix_(1:9, nrow = 3)
  matrix_("a", 2, 2)
}

Run the code above in your browser using DataLab