as_r {Ryacas} | R Documentation |
Convert yacas object to R
Description
If x
is a yacas command as string, convert to a character vector/matrix in R.
If x
is a yac_symbol
(e.g. from ysym()
), then convert it to a numeric object
if there are no variables or a character type if there are variables.
Usage
as_r(x)
Arguments
x |
yacas list or list of lists to convert |
Details
In yacas a vector is a list, and a matrix is a list of lists.
[Package Ryacas version 1.1.5 Index]