summary.gGeneric: Summarize the gGeneric list to a simple table

View source: R/detection_probability_functions.R

summary.gGenericR Documentation

Summarize the gGeneric list to a simple table

Description

methods for summary applied to a gGeneric list

Usage

## S3 method for class 'gGeneric'
summary(object, ..., CL = 0.9)

Arguments

object

gGeneric output list (each element is a named vector of gGeneric values for a cell in the model combinations)

...

arguments to be passed down

CL

confidence level

Value

a summary table of g values (medians and confidence bounds) for each cell combination within the gGeneric list

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)
  summary(ghatsGeneric)


GenEst documentation built on June 7, 2023, 6:35 p.m.