The Most Rapid Essay Writing Service For Your Academic Success

Become a better student and get high grades with our professional writers.

Welcome to the #1 paper writing service, where each essay writer knows your needs and saves you from endless tasks!

  • We cover all disciplines and academic styles.
  • We meet your deadlines and formatting requirements.
  • We ask nothing but your “thank you” in return.

Entrust our essay writing service with your homework today—and forget about dull tasks and poor grades forever.

R Assignment

A director of research at an acute care hospital observes an increase in the number of patients returning to the hospital within 30 days. The director determines that this is harmful to patients and harmful financially to the hospital. The dataset hospital contains data on a study the director conducted to determine which factors are related to returning to the hospital in 30 days. You can find a description of the variables in the file on pages 40 and 41 in the Auerbach and Zeitlin text.

Using the CrossTables() function in the gmodels package, create a table comparing “return30” and “gender.” Then, use the data in your table to answer the question: Who is more likely to return within 30 days?
Refer to pages 43-45 in the Auerbach & Zeitlin text (Recoding Data) to create a variable: “age80.”
Using the CrossTables() function in the gmodels package, create a table comparing “return30” and “age80.” Then, use the data in your table to answer the question: Who is more likely to return within 30 days?
Copy and paste your tables from RStudio and findings into a Word document. Use 10-point, Courier font.
Upload your findings.
Note: When you use age80 in the CrossTable() function do not use the syntax hospital$age80. Leave off the “hospital$.” You will still need to include hospital$ with return30. The reason for this is that age80 is not part of the hospital data frame.  Refer to pages 46-47 in the Auerbach & Zeitlin text (saving your transformation) to attach your transformation to your data frame.

Both comments and pings are currently closed.
Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes