accumulate {mefa}R Documentation

Accumulation Trends from !sscount! Objects

Description

This function can be used to summarise accumulation trends on object class "scount", if segment column of of the 'sscount' object can be ordered (e.g. time).

Usage

accumulate(x)

Arguments

x an object of class 'scount'.

Value

A data frame with nlevels(x$data$segment) number of rows and 5 columns. segment contains ordered levels of x$data$segment, newrecord is the number of new records (or number of individuals, based on x$data$count), newspec is the number of new species in subsequent segment levels, cumrecord is the cumulative number of new records, cumspec is the cumulative number of new species in subsequent segment levels.

Author(s)

Peter Solymos, Solymos.Peter@aotk.szie.hu, http://www.univet.hu/users/psolymos/personal/

See Also

sscount

Examples

ssc <- sscount(data.frame(
    LETTERS[rpois(20,1)+1], # samples
    letters[rpois(20,2)+1], # species
    rpois(20,10)+2000,      # years of observetion
    rep(1,20)))             # 1s for single counts

ssc$data

accumulate(ssc)

[Package mefa version 1.1-0 Index]