initTEmployee | R Documentation |
Initialize employee data and its working hours. This function can be applied only to theoretical employees. Theoretical employees represent the manpower requirement for a scheduled activity.
initTEmployee(
theObject,
ID,
costCenter,
equipment,
OT = 0,
calDays,
mdtProb,
spareFactor = 1,
monthSched = NA
)
## S4 method for signature 'Employee'
initTEmployee(theObject, ID, costCenter, spareFactor = 1)
## S4 method for signature 'Staff'
initTEmployee(
theObject,
ID,
costCenter,
calDays,
mdtProb,
spareFactor = 1,
monthSched = NA
)
## S4 method for signature 'Clerk'
initTEmployee(
theObject,
ID,
costCenter,
OT = 0,
calDays,
mdtProb,
spareFactor = 1,
monthSched = NA
)
## S4 method for signature 'OperationPersonnel'
initTEmployee(
theObject,
ID,
costCenter,
OT = 0,
mdtProb,
spareFactor = 1,
monthSched = NA
)
## S4 method for signature 'Operator'
initTEmployee(
theObject,
ID,
costCenter,
equipment,
OT = 0,
mdtProb,
spareFactor = 1,
monthSched = NA
)
theObject |
|
ID |
character string representing the employee's unique identifier |
costCenter |
character string representing the cost center wherein the employee's man hour cost will be charged |
equipment |
character string representing the equipment type which the employee was given authority to operate |
OT |
integer value defining the budgeted overtime hours |
calDays |
a |
mdtProb |
a |
spareFactor |
numeric value of greater than or equal to 1 used as man hours multiplier |
monthSched |
integer vector of length 12 This represents the number of days an activity is scheduled for each month.
This argument is used only for |
Employee-class
object
initTEmployee(Employee)
: Initialize ID, costCenter and spareFactor
initTEmployee(Staff)
: Initialize reg
initTEmployee(Clerk)
: Initialize reg and regOT
initTEmployee(OperationPersonnel)
: Initialize all man hour type using man day type
probabilities
initTEmployee(Operator)
: Initialize equipment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.