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

Description Usage Arguments Details Author(s) See Also Examples

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

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)

lmf documentation built on May 19, 2017, 11:45 p.m.

Search within the lmf package
Search all R packages, documentation and source code