plot.MCMC.posterior: A function to plot a time series of Spawning Stock Biomass...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/plot.MCMC.posterior.R

Description

TO DO

Usage

1
2
3
4
5
plot.MCMC.posterior(filename,
                    path = "",
                    label = "NA",
                    var = "NA",
                    x.axis.label = "NA")

Arguments

x

TODO

Details

TODO

Value

TODO

Note

TODO

Author(s)

TODO

References

TODO

See Also

TODO

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# Plotting only the MCMC results
my.plot1 = plot.MCMC.posterior(filename = system.file("extdata", "quant.v1", package = "ProcessCASALoutput"),
                              var = "B0",
                              label = "Model XYZ",
                              x.axis.label = expression(B[0]),
                              xlim = c(6e4, 9e4),
                              x.breaks.major.steps = 1e4,
                              x.breaks.minor.steps = 5e3)
plot(my.plot1)

# Plotting the MCMC results and the prior (lognormal.prior only available for the moment)
my.plot2 = plot.MCMC.posterior(filename = system.file("extdata", "quant.v1", package = "ProcessCASALoutput"),
                               var = "B0",
                               label = "Model XYZ",
                               x.axis.label = expression(B[0]),
                               xlim = c(2e4, 12e4),
                               x.breaks.major.steps = 2e4,
                               x.breaks.minor.steps = 1e4,
                               lognormal.prior = c(log(7e4), 0.2))

plot(my.plot2)

mkienzle/ProcessCASALoutput documentation built on July 13, 2020, 4:24 p.m.