summary.cover: Summary method for cover and incidence objects.

View source: R/summary.cover.R

summary.coverR Documentation

Summary method for cover and incidence objects.

Description

The function computes a summary of cover and incidence S3 objects. Currently, the function returns just the number of profiles and the number of comparabilities.

Usage

## S3 method for class 'cover'
summary(object, ...)
## S3 method for class 'incidence'
summary(object, ...)

Arguments

object

a cover matrix or an incidence matrix.

...

added for consistency with the generic method.

Examples

vl <- c(2, 3, 3)
prf <- var2prof(varlen = vl)
Z <- getzeta(prf)
summary(Z)
C <- incidence2cover(Z)
summary(C)

parsec documentation built on Aug. 19, 2023, 5:07 p.m.