get_fills_per_host: Get the maximum number of adjacent slots a guest has filled

View source: R/schedule.R

get_fills_per_hostR Documentation

Get the maximum number of adjacent slots a guest has filled

Description

This ignores things like lunch (i.e., if there is a gap before lunch and two after, it will return 3)

Usage

get_fills_per_host(availibility_array)

Arguments

availibility_array

3d array of availability with entries 0, 1, and 2

Value

The maximum number of adjacent slots a guest has filled


bomeara/scheduleR documentation built on Jan. 21, 2025, 3:26 p.m.