Learn R Programming

gnomonicM (version 1.0.1)

plot.gnomosBoot: Plot method for gnomosBoot class

Description

Plot method for gnomosBoot class

Usage

# S3 method for gnomosBoot
plot(
  x,
  xlab = "Gnomonic intervals",
  ylab = NULL,
  col = "lightgrey",
  boxwex = 0.25,
  dayUnits = TRUE,
  ...
)

Arguments

x

an object class 'gnomosBoot'.

xlab

a title for the x axis.

ylab

a title for the y axis.

col

color for the boxplot of M value for each gnomonic intervals.

boxwex

a scale factor to be applied to all boxes in order to make the boxes narrower or wider.

dayUnits

TRUE by default, to show the M values in 1/day unit. FALSE to show the M values in 1/year units.

Additional arguments to the plot method.

Examples

Run this code
# NOT RUN {
modelBoot <- gnomonicStochastic(nInterval = 7, eggDuration = 2, addInfo = NULL, longevity = 365,
distr = "uniform", min_fecundity = 100000, max_fecundity = 300000, niter = 1000, a_init = 2)

plot(modelBoot)
# }

Run the code above in your browser using DataLab