getMDTProb: Compute Man Day Type Probabilities

View source: R/calendar_fun.R

getMDTProbR Documentation

Compute Man Day Type Probabilities

Description

Calculate the probability of occurrence of each man day type for each month.

Usage

getMDTProb(hol)

Arguments

hol

a data.frame returned by getHol

Value

a data.frame with 12 rows and 9 columns

Each row represents a month. The first 8 columns represent the probability of occurrence of each man day type while the last column represents the number of days per month. The column names are as follows:

rd

probability of having a rest day

sh

probability of having a special holiday

lh

probability of having a legal holiday

nh

probability of having a negotiated holiday

rs

probability of having a rest day on a special holiday

rl

probability of having a rest day on a legal holiday

rn

probability of having a rest day on a negotiated holiday

reg

probability of having a regular day

days

number of days


basilrabi/mansched2 documentation built on May 19, 2023, 9:51 p.m.