make_iyol: Create a data frame for each individual year of life (by...

View source: R/biographical-data.R

make_iyolR Documentation

Create a data frame for each individual year of life (by default, for adults only)

Description

Create a data frame for each individual year of life (by default, for adults only)

Usage

make_iyol(babase, members_l, focals_l = NULL, interactions_l = NULL,
  .by_grp = TRUE, .adults_only = TRUE)

Arguments

babase

A DBI connection to the babase database

members_l

A subset of members table produced by the function 'subset_members'

focals_l

A subset of focals produced by the function 'subset_focals'

interactions_l

A subset of interaction data produced by the function 'subset_interactions'

.by_grp

Logical indicating whether to separate by group. Default is TRUE

.adults_only

Logical indicating whether to include adults only. Default is TRUE

Value

A tibble with one row per animal (and optionally, per group) and year of life, with contextual data


amboseli/ramboseli documentation built on July 3, 2025, 11:45 p.m.