This is the wright place for asking R related coding questions, but in this specific case, please make sure to follow our homework policy.