Hello! Thanks for reviewing my assignment, my work is in the "My code and figure" folder. Hope my comments in R source code will make your work easier! Cheers, ayanamilei0