get13mp | R Documentation |
13th month pay is pro-rated to the number of months the employee is employed for the year. This is then distributed equally to all months of employment.
get13mp(theObject, sal)
## S4 method for signature 'Employee'
get13mp(theObject, sal)
theObject |
|
sal |
a numeric vector of length 2 This contains 2 monthly salaries of the employee. The first one is salary before annual increase while the second one is the adjusted salary. |
a data.frame
with 12 rows and 3 columns representing
the accrued 13th month pay per month
Each row represents a month. The columns are:
character string representing the unique identifier of the real employee
integer value representing the month
numeric value defining the accrued 13th month pay
get13mp(Employee)
: Compute 13 month pay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.