Learn R Programming

BGGM (version 2.1.5)

map: Maximum A Posteriori Precision Matrix

Description

Maximum A Posteriori Precision Matrix

Usage

map(Y)

Value

An object of class map, including the precision matrix, partial correlation matrix, and regression parameters.

Arguments

Y

Matrix (or data frame) of dimensions n (observations) by p (variables).

Examples

Run this code
Y <- BGGM::bfi[, 1:5]

# map
map <- map(Y)
map

Run the code above in your browser using DataLab