card: Get the cardinality of an object

Description Usage Arguments Details Value Note Author(s)

Description

Gets the cardinality of an object.

Usage

1
card(object, ...)

Arguments

object

an R object whose cardinality is to be retrieved

...

additional parameters to be used when retrieving cardinality

Details

The function card is generic.

Value

Returns a numeric value corresponding to the cardinality of object.

Note

For vectors cardinality is the same as length.

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca


ClausDethlefsen/giRaph documentation built on May 25, 2019, 1:36 p.m.