Running a set of codes given in r for regression analysis

I am given a set of codes in R for simple and multiple logistic regression analysis. I am supposed to run this set of codes and get the same output provided. But I got error messages when I ran the codes.

I need help in running this set of codes. Please review the codes and instruction given and the error messages in R. 

Let me know what did I do wrong in running this set of codes. Please provide me a detail set of instruction step by step how to run it. Please revise the code if necessary so that I just copy and paste into my desktop computer and run it to get the same output as provided by my prof.


Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.