GenEst (version 1.2.0)

plot.cpmSet: Plot results of a set of CP models

Description

Produce a set of figures for a set of CP models, as fit by cpmSet

Usage

# S3 method for cpmSet
plot(x, specificModel = NULL, app = FALSE,
  cols = CPcols(), ...)

Arguments

x

pk model set of class pkmSet

specificModel

the name(s) or index number(s) of specific model(s) to restrict the plot

app

logical indicating if the plot is for the app

cols

named vector of the colors to use for the distributions

...

to be passed down

Examples

Run this code
# NOT RUN {
  data(wind_RP)
  mod <- cpmSet(formula_l = l ~ Season, formula_s = s ~ Season,  
           data = wind_RP$CP, left = "LastPresent", right = "FirstAbsent")
 
# }
# NOT RUN {
plot(mod)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace