get_times: Calculate the Proportion of Time at Home vs. Away

View source: R/get_times.R

get_timesR Documentation

Calculate the Proportion of Time at Home vs. Away

Description

Takes an individual's continuous-time movement description and calculates the proportion of time they spent with their home group vs any other group in their network.

Usage

get_times(schedule, id, simulator, option = NA)

Arguments

schedule

a data.frame schedule of the type output by simulate_schedule

id

the character string name of an individual node

simulator

the simulator used to generate the schedule. One of: "independent", "non-independent", "group-think".

option

additional option for group-think, "co-located" or "attached"


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