interaction in r studio

Please submit (1) your R-script (name07.R) that includes the commands you use to answer these questions and (2) a text file containing your typed answers to each question. For example, if the question asks for you to run a regression, your R-script should include the command that does so, while your typed answer should include a professionally formatted regression table (do not simply copy and paste R outputs).

"Is this question part of your assignment? We can help"