View source: R/mhDB_fun_getCost.R
getCost | R Documentation |
Calculates monthly personnel cost for each cost center Personnel costs are comprised by:
Payroll - Salaries (Regular)
Payroll - Salaries (Seasonal)
Payroll - Overtime (Regular)
Payroll - Overtime (Seasonal)
Payroll - 13th Month and Other Bonuses (Regular)
Payroll - 13th Month and Other Bonuses (Seasonal)
Payroll - Leave Commutation (Regular)
Payroll - Leave Commutation (Seasonal)
Payroll - De Minimis Benefits (Regular)
Payroll - De Minimis Benefits (Seasonal)
SSS Contributions (Regular)
SSS Contributions (Seasonal)
PHIC Contributions (Regular)
PHIC Contributions (Seasonal)
HDMF Contributions (Regular)
HDMF Contributions (Seasonal)
Other Employee Allowances
Hospital and Medical Expenses - Employees
Awards and Prizes
Life and Medical Insurance - Employees
Contract Fee - Agency Services
getCost(
mhDB,
listR,
wage,
forecast = FALSE,
bonusFactorYearEnd = 1.5,
absentee = NA,
monthStart = 1L,
leaveConversionFactor = 0.5
)
mhDB |
a |
listR |
a list of |
wage |
a
|
forecast |
logical value |
bonusFactorYearEnd |
a numeric value for the salary multiplier for the year-end bonus |
absentee |
a
|
monthStart |
an integer representing the month of start of forecasting |
leaveConversionFactor |
numeric value for the monthly salary fraction assumed as leave conversion |
a list containing the following:
a data.frame with 16 columns
The last 12 columns represents the cost per month. The 1st column is the activity cost center. The 2nd column is the description of the general ledger code. The 3rd column is the equipment type used. The 4th column is the general ledger code.
tabulated total man hours per month per cost center
tabulated 13th month pay per month per cost center
tabulated bonus cost per month per cost center
a data.frame with 16 columns similar to the first element of the returned list but with an additional column indicating the employment status
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.