Plotting function for class "boot.lmf"

Description

Plots density plots for bootstrap replicates of parameters from objects of class "lmf".

Usage

1
2
3
## S3 method for class 'boot.lmf'
  ## S3 method for class 'boot.lmf'
plot(x, what = c("all"), ...)

Arguments

x

an object of class "boot.lmf".

what

what parameters is to be plotted. Options are "projection", "alpha" and "all".

...

additional arguments to be passed to methods, such as graphical parameters (see par).

Details

Density of parameters is calculated using the function density.

Author(s)

Thomas Kvalnes

See Also

boot.lmf, density, plot.default

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#Data set from Engen et al. 2012
data(sparrowdata)
#Fit model
lmf.1 <- lmf(formula = cbind(recruits, survival) ~ weight + tars,
               age = age, year = year, data = sparrowdata)
#Bootstrap parameters
b.1 <- boot.lmf(object = lmf.1, nboot = 10, sig.dj = TRUE,
 what = "all", asim = "parametric")
#Density plot
plot(b.1)