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

View source: R/detection_probability_figure_functions.R

plot.gGenericR Documentation

Plot results of a single generic ghat estimation

Description

Plot method for a single generic ghat estimation

Usage

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

Arguments

x

estgGeneric output

CL

confidence level to use

...

to be passed down

Value

generic detection probability plot

Examples

  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)


ddalthorp/GenEst documentation built on June 4, 2023, 1 a.m.