plot.postmean.bspcov: Draw a Heat Map for Point Estimate of Covariance Matrix

View source: R/plot.postmean.bspcov.R

plot.postmean.bspcovR Documentation

Draw a Heat Map for Point Estimate of Covariance Matrix

Description

Provides a heat map for posterior mean estimate of sparse covariance matrix

Usage

## S3 method for class 'postmean.bspcov'
plot(x, ...)

Arguments

x

an object from estimate.

...

additional arguments for ggplot2.

Value

plot

a heatmap for point estimate of covariance matrix x.

Author(s)

Seongil Jo

See Also

estimate

Examples


n <- 25
p <- 50
Sigma0 <- diag(1, p)
X <- MASS::mvrnorm(n = n, mu = rep(0, p), Sigma = Sigma0)
res <- bspcov::thresPPP(X, eps=0.01, thres=list(value=0.5,fun='hard'), nsample=100)
est <- bspcov::estimate(res)
plot(est)


bspcov documentation built on April 12, 2025, 9:16 a.m.