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

Description Usage Arguments Value

View source: R/biographical-data.R

Description

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

Usage

1
2
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 March 18, 2021, 12:03 a.m.