compare.plot: compare.plot

Description Usage Arguments Value

View source: R/compareInverseWisharts.R

Description

Creates a comparison plot showing the univariate density of each cell of the empirical sum of inverse Wishart matrices and a sample from a single inverse Wishart which approximates the distribution of the sum of inverse Wishart matrices.

Usage

1
2
compare.plot(sumReplicates, approxReplicates, ylim = c(0, 1), xlim = c(0,
  1), col = c("red", "black"))

Arguments

sumReplicates

a sample from the distribution of a sum of inverse Wishart matrices

approxReplicates

a sample from a single inverse Wishart which approximates the distribution of the sum of inverse Wishart matrices.

ylim

optional Y-axis plot limits

xlim

optional X-axis plot limits

col

optional list of colors for the empirical and approximate densities

Value

plot of univariate densities


SampleSizeShop/invWishartSum documentation built on Feb. 5, 2022, 5:04 a.m.