Learn R Programming

parsec (version 1.1.1)

summary.cover: Summary method for cover and incidence objects

Description

The function returns a summary of cover and incidence S3 objects. At the moment, the function returns only 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

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

Run the code above in your browser using DataLab