GenEst (version 1.2.4)

plot.gGeneric: Plot results of a single generic ghat estimation

Description

Plot method for a single generic ghat estimation

Usage

# S3 method for gGeneric
plot(x, CL = 0.9, ...)

Arguments

x
CL

confidence level to use

...

to be passed down

Value

generic detection probability plot

Examples

Run this code
# NOT RUN {
  data(mock)
  model_SE <- pkm(formula_p = p ~ HabitatType, formula_k = k ~ 1,
                data = mock$SE)
  model_CP <- cpm(formula_l = l ~ Visibility, formula_s = s ~ Visibility, 
                data = mock$CP, left = "LastPresentDecimalDays", 
                right = "FirstAbsentDecimalDays")
  avgSS <- averageSS(mock$SS)
  ghatsGeneric <- estgGeneric(nsim = 1000, avgSS, model_SE, model_CP)
  plot(ghatsGeneric)

# }

Run the code above in your browser using DataCamp Workspace