as_character_matrix {caracas}R Documentation

Get matrix as character matrix

Description

Get matrix as character matrix

Usage

as_character_matrix(x)

Arguments

x

caracas symbol

Examples

if (has_sympy()) {
  s  <- as_sym("[[r1, r2, r3], [u1, u2, u3]]")
  s2 <- apply(as_character_matrix(s), 2, function(x) (paste("1/(", x, ")")))
  as_sym(s2)
}


[Package caracas version 1.1.0 Index]