Counts the number of glass clinks.

clinks(object, ...)

# S3 method for default
clinks(object, ...)

# S3 method for apero
clinks(object, ...)

Arguments

object

An object of class apero or a vector of length one with the number of persons.

...

Arguments passed from or to other methods.

Value

The number of clinks.

Methods (by class)

  • clinks(default): Calculates the number of glass clinks between n (= object) persons.

  • clinks(apero): Calculates the number of glass clinks of all persons of an apero.

Examples

x <- apero()
clinks(x)
#> [1] 66