Learn R Programming

parsec (version 1.2.7)

summary.cover: 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 cover
summary(object, ...)
# S3 method for 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