annual_clan_membership: Identify living hyenas in specified clan on an annual basis

View source: R/annual_clan_membership.R

annual_clan_membershipR Documentation

Identify living hyenas in specified clan on an annual basis

Description

Identifies all hyenas alive in a specified year for the given clan. This count includes any individuals who were considered immigrants or residents and who were alive and in the clan for at least one day during the year.

Usage

annual_clan_membership(clans, years)

Arguments

years

One (or more) year, supplied as a numeric vector

clan

One (or more) clan names, supplied as a character vector.

Value

Returns tblClanMembership filtered to all individuals who were a member of the supplied clan at some point in the supplied year. Columns include the start and end date of membership in the clan.

Examples

## returns all hyenas from serena clans 2010-2012
annual_clan_membership(clans = c('happy.zebra', 'serena.s', 'serena.n'), years = 2010:2012)


MaraHyenaProject/hyenatools documentation built on Jan. 30, 2025, 5:10 p.m.