In this case, we’re gonna translates yearly income to daily income using R language functions
This function below is used to translates yearly income to daily income based on declared argument variable value.
daily_income_converter <- function(yearly_income) {
yearly_income / 365
}
Show daily income
daily_income_converter(150000000)
## [1] 410958.9