Learn R Programming

tidywater (version 0.7.0)

solvecost_labor: Determine labor cost

Description

This function takes number of FTE and annual $/FTE and determines labor cost

Usage

solvecost_labor(fte, cost, time = "day")

Value

A numeric value for labor $/time.

Arguments

fte

Number of FTEs. Can be decimal.

cost

$/year per FTE

time

Desired output units, one of c("day", "month", "year"). Defaults to "day".

Examples

Run this code
laborcost <- solvecost_labor(1.5, 50000)

library(dplyr)
cost_data <- tibble(
  fte = seq(1, 10, 1)
) %>%
  mutate(costs = solvecost_labor(fte = fte, cost = .08))

Run the code above in your browser using DataLab