Learn R Programming

riemstats (version 0.2.0)

format_matr: Format a Matrix as a Packed dpoMatrix

Description

Converts a matrix to a packed symmetric positive definite matrix (dpoMatrix) using the Matrix package.

Usage

format_matr(x)

Value

A packed dpoMatrix object.

Arguments

x

A numeric matrix.