Learn R Programming

parsec (version 1.2.0)

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 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
# NOT RUN {
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