Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm brand new to R programming. I'm not sure how to determine invalid entries and removing the rows. Assignment 1: R Use the files named

I'm brand new to R programming. I'm not sure how to determine invalid entries and removing the rows. image text in transcribed
Assignment 1: R Use the files named NationalSalaries.xlsx, and Salaries.xisx and write R scripts to perform the following tasks: 1. Data cleaning. Determine what rows have invalid entries in NationalSalaries x isx file and remove all such rows. (20') 2. Select only columns that appear in the Salaries.xlsx file. Save the result into a new file and use the new file to complete the remaining tasks below.(107) 3. Randomly select 1500 rows. (10') 4. Create a data frame that holds only individual jobs (not major groups or all occupations) whose average hourly salary is lower than 15.(10) 5. Create a data frame that holds only individual jobs (not major groups or all occupations) in Indiana, then divide average yearly salary range into 10 intervals(bins). and count how many jobs are in each bin. (10') 6. Find the total employment for each state. (10') 7. Find the average yearly salary of all jobs in Indiana, and compare it with data provided in the data set (42630 v5 36410). (20') 8. Use a chart to compare average yearly salaries of "Computer and mathematical occupations" (coded 15xxxx ) in Indiana, California and New York. Use colors and legends to make your chart informative. (10') Submit your script file and output file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

Is conflict always unhealthy? Why or why not? (Objective 4)

Answered: 1 week ago