Assign monthly costs using a cost variable and vector containing monthly beddays.
Arguments
- data
Data containing bedday variables, see create_monthly_beddays to create
- yearstay
The variable containing the total number of beddays in the year, default is
yearstay
- cost_total_net
The variable containing the total number of cost for the year, default is
cost_total_net