card {giRaph}R Documentation

Get the cardinality of an object

Description

Gets the cardinality of an object.

Usage

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


[Package giRaph version 0.1-1 Index]