Fig4.1: Reproduce Figure 4.1

View source: R/enet-sim.R

Fig4.1R Documentation

Reproduce Figure 4.1

Description

Reproduces Figure 4.1 from the book. If you specify any options, your results may look different.

Usage

Fig4.1(
  cs,
  bd,
  parlist = list(mfrow = c(1, 2), mar = c(5, 5, 0.5, 0.5), oma = c(0, 0, 2, 0))
)

Arguments

cs

Output from Ex4.2 with compound symmetric structure

bd

Output from Ex4.2 with block diagonal structure

parlist

List of arguments to pass to par()

Examples

cs <- Ex4.2(N=5, corr='cs')
bd <- Ex4.2(N=5, corr='bd')
Fig4.1(cs, bd)

pbreheny/hdrm documentation built on Jan. 17, 2024, 8:53 p.m.