hi everyone

i have been given this problem to solve, usage of R or Rstudio is required so solve it.

i would appreciate undescriply for anyone helping me solve it, even if it costs me money.

the problem is attached to this thread, please take a moment to check it

thanks again