ff_forward3: Fission-Fusion Forward Simulator

View source: R/ff_forward3.R

ff_forward3R Documentation

Fission-Fusion Forward Simulator

Description

Looks forward at fission-fusion events in group-think simulations and incorporates a multinomial draw on the probability of individual switching options

Usage

ff_forward3(t2, curr_vec, mbrs_list, i, time_to_leave, time_to_return)

Arguments

t2

the data.frame of group and individual switching schedules over matched intervals

curr_vec

the group tags present in vector at i

mbrs_list

the list of groups and animals within groups at i

i

the loop index for t2

time_to_leave

The average days spent within the home group prior to leaving.

time_to_return

The average days spent abroad before returning to home group.


gavincotterill/modulr documentation built on Nov. 30, 2022, 11:15 p.m.