as.yac_symbol.mat: Coerce to 'yac_symbol' Matrix

Description Usage Arguments Author(s) See Also Examples

View source: R/as.yac_symbol.mat.R

Description

The function uses as.yac_symbol() to convert x to an object of class yac_symbol y. If y$is_mat = TRUE, the function returns y. If y$is_vec = TRUE, the function converts y to a column vector, that is, an m by 1 matrix.

Usage

1
2
3

Arguments

x

Object.

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other assert functions: as.tex(), as.yac_symbol()

Examples

1
2
3
4
5
6
as.yac_symbol.mat(1:5)
(x <- matrix(1:10, ncol = 2))
as.yac_symbol.mat(x)
as.ysym.mat(6:10)
(y <- matrix(11:20, ncol = 2))
as.ysym.mat(y)

jeksterslab/yacR documentation built on Feb. 27, 2021, 3:45 a.m.