Is this a good place to ask questions from homework problem sets?
tl:dr In general, this is not the appropriate place to ask verbatim homework questions - Posting whole or part of your assignment verbatim not allowed here. It may undercut your instructor’s course materials and it violates most schools' academic integrity policies.
Before You Post - If you have a question about your homework, we encourage you to first contact your course instructor or teaching assistants directly. Firstly, that is what they are there for. Also, your questions serve as good feedback to help them improve how they teach the course.
We do welcome "homework inspired" questions
If you have general questions about how to use R, the RStudio IDE, the tidyverse, where to find resources, or if you have a specific reproducible issue you’re trying to sort out (that is not your verbatim homework question), you may find friendly folks to point you in the right direction.
*Keep in mind Community.rstudio.com is a discussion forum for R, RStudio and the Tidyverse. It may not be the best place to get help with your specific problem. The community is more inclined to help lead you toward your solution, rather than explicitly solve it. Do not expect anyone here to do your work for you.