plot.boot.lmf: Plotting function for class "boot.lmf"

View source: R/plot.boot.lmf.R

plot.boot.lmfR Documentation

Plotting function for class "boot.lmf"

Description

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

Usage

## 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

#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)

lmf documentation built on June 24, 2022, 5:06 p.m.