getRiceSub: Compute the monthly rice subsidy of employee

getRiceSubR Documentation

Compute the monthly rice subsidy of employee

Description

For every month, 1 sack of rice is awarded to the employee. Once sack costs around 2,500 PhP.

Usage

getRiceSub(theObject)

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

Arguments

theObject

Employee-class object

Value

a data.frame with 12 rows and 3 columns representing the rice subsidy the employee receives per month

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

riceSub

numeric value defining the rice subsidy to be received by the employee

Functions

  • getRiceSub(Employee): Compute rice subsidy throughout the year


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