getGroupLife: Compute the monthly cost for group life insurance premium

getGroupLifeR Documentation

Compute the monthly cost for group life insurance premium

Description

Life insurance privilege is only available to regular and probationary employees. The higher the job grade of the employee, the higher the privilege enjoyed.

Usage

getGroupLife(theObject)

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

## S4 method for signature 'Staff'
getGroupLife(theObject)

## S4 method for signature 'DivisionManager'
getGroupLife(theObject)

## S4 method for signature 'GroupManager'
getGroupLife(theObject)

## S4 method for signature 'DepartmentManager'
getGroupLife(theObject)

## S4 method for signature 'SectionHead'
getGroupLife(theObject)

## S4 method for signature 'NonStaff'
getGroupLife(theObject)

Arguments

theObject

Employee-class object

Value

a data.frame with 12 rows and 3 columns representing the total HMO costs budgeted for the employee 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

gl

numeric value defining the total costs budgeted to the employee per month

Functions

  • getGroupLife(Employee): Compute cost multiplier

  • getGroupLife(Staff): Compute premium list

  • getGroupLife(DivisionManager): Compute monthly cost

  • getGroupLife(GroupManager): Compute monthly cost

  • getGroupLife(DepartmentManager): Compute monthly cost

  • getGroupLife(SectionHead): Compute monthly cost

  • getGroupLife(NonStaff): Compute monthly cost


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