sym: sym

Description Usage Arguments Value References Examples

View source: R/utilities.R

Description

sym

Usage

1
sym(a)

Arguments

a

any matrix

Value

symmetrize matrix when matrix is theoretically symmetric but not in numerically

References

Li, B. (2018). Sufficient dimension reduction: Methods and applications with R. CRC Press.

Examples

1
2
ex <- matrix(c(1.1,2.1,1.2,2.2),2,2)
result <- sym(ex)

nsdr documentation built on June 3, 2021, 9:06 a.m.

Related to sym in nsdr...