getLaborDayShirt: Compute labor day t-shirt cost

getLaborDayShirtR Documentation

Compute labor day t-shirt cost

Description

During labor day (May 1), all regular employees are given a shirt worth 390 Php. This cost is charged in May.

Usage

getLaborDayShirt(theObject)

## S4 method for signature 'Employee'
getLaborDayShirt(theObject)

Arguments

theObject

Employee-class object

Value

a data.frame with 12 rows and 3 columns although only the 5th row may have a value since the cost is charged only in May

Each row represents a month. The columns are:

ID

character string representing the unique identifier of the real employee

month

integer value representing the month

benefits

numeric value defining the cost charged for that month

Functions

  • getLaborDayShirt(Employee): Summarize shirt cost


basilrabi/mansched documentation built on May 18, 2023, 1:29 p.m.