Learn R Programming

Ryacas (version 1.1.5)

vec: Vectorize

Description

Vectorize

Usage

vec(x, ...)

# S3 method for default vec(x, ...)

Arguments

x

If yac_symbol treat as such, else call base::as.vector().

...

further arguments passed to base::as.vector()

Examples

Run this code
(x <- matrix(1:9, ncol = 3))
vec(x)
vec(ysym(x))

Run the code above in your browser using DataLab