get_gaps_per_guest: Get the maximum number of adjacent slots any guest is...

View source: R/schedule.R

get_gaps_per_guestR Documentation

Get the maximum number of adjacent slots any guest is available for

Description

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

Usage

get_gaps_per_guest(availibility_array)

Arguments

availibility_array

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

Value

Vector of the maximum number of adjacent slots each guest is available for


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