250227 R code for pay and expenses data analysis.R