plotHist: plotHist

View source: R/plot.R

plotHistR Documentation

plotHist

Description

Plot compared histograms of a single parameter (scalar)

Usage

plotHist(mr, x, y, ...)

Arguments

mr

Output of multiRun(), list of lists of functions results

x

Row index of the element inside the aggregated parameter

y

Column index of the element inside the aggregated parameter

...

Additional graphical parameters (xlab, ylab, ...)

Examples

## Not run: 
beta <- matrix(c(1,-2,3,1),ncol=2)
mr <- multiRun(...) #see bootstrap example in ?multiRun
                    #mr[[i]] is a list of estimated parameters matrices
mu <- normalize(beta)
for (i in 1:2)
  mr[[i]] <- alignMatrices(res[[i]], ref=mu, ls_mode="exact")
plotHist(mr, 2, 1) #second row, first column
## End(Not run)


morpheus documentation built on Feb. 16, 2023, 10:01 p.m.