Program is R studio. please help with the following questions thankyou! Sorting and ordering data Important:Use the
Fantastic news! We've Found the answer you've been seeking!
Question:
Program is R studio. please help with the following questions thankyou!
- Sorting and ordering data Important:Use the empComplete data frame (created in question 29) to answer questions 31, 32, 33, 34, 35 and 36.
- Display empComplete data ordered by name. Do not make a change in the empComplete data frame. The display should not be just the names column. Your R code should display all the columns in the data frame ordered by name.
- Calculate the mean work experience for each gender separately usingtapply() function on gender column.
- Dividing data into smaller sizes (subsets of data: include only some columns/rows)
- Display all the columns for female employees only (inempCompletedata frame)
- Grouping data
- Create data frame (female) that contains the female employees only
- Create another data frame (male) that contains the male employees only
- Calculate the mean work experience of female and male employees using female and male objects that you created in questions 34 and 35 above. Display these means. Are the answers to questions 32 and 36 consistent (same)?
Posted Date: