Learn R Programming

Ryacas (version 1.1.5)

vech: Half-Vectorize

Description

Half-Vectorize

Usage

vech(x, ...)

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

Arguments

x

If yac_symbol treat as such, else call vech.default().

...

further arguments passed to vech.default()

Examples

Run this code
A <- mtcars[, c(1, 3, 4, 5, 6, 7)]
x <- cov(A)
vech(x)
vech(ysym(x))

Run the code above in your browser using DataLab