summary.ces: Summarizing CES objects

View source: R/summary.ces.R

summary.cesR Documentation

Summarizing CES objects

Description

Methods to summarize CES objects

Usage

## S3 method for class 'ces'
summary(object, age=0, sp.order='alpha', ads=FALSE, jvs=FALSE, prod=FALSE, df=FALSE, nrow=6, silent=FALSE, ...)

Arguments

object

A CES object

ads, jvs, prod

logical, if TRUE and x contains index results, print summary statistics for adult/juvenile abundance/productivity only.

age

Euring age code - either 3 juveniles or 4 for adults

sp.order

Should species be displayed in order of the 'alpha'bet, decreasing 'count' or, if neither specified, 'taxon'omic (Voous) order.

df

logical, if TRUE and x is CES data object created by readces, print traditional column summary statistics.

nrow

integer, if x is a species summary object, print this many rows, ordered by highest count.

silent

logical, if TRUE suppress printing of the species counts. May be useful if you just want to generate a table of species counts for further manipulation.

...

arguments passed to other methods.

Details

summary() will call the appropriate method as follows: If given an object created by readces it will print a table of number of each species caught (only those of 'age' if that argument is given) in 'sp.order' If given an object created by extract.data it will provide a simple summary of the number of birds caught (or only those of 'age' if that argument is given) If given an object created by extract.coverage it will provide a summary of the number of plots operated in each year and the number of years plots have been operating If given an object created by index it will provide summary statistics of the fit

Normally one will want to summarise results for both age-classes and productivity measure, but the facility is provided to do this for only one age-class if desired.

Value

Invisibly, a dataframe (or a list of dataframes) containing the numerical data.

Author(s)

Rob Robinson

Examples

data(ukdata)
summary(ukdata)

btorobrob/cesr documentation built on June 9, 2025, 5:39 a.m.