Question: Those are R questions 2. Write a R function to find and return the maximum and the minimum value points) 4. Titanic Casualties - Use

Those are R questions
Those are R questions 2. Write a R function to find and
return the maximum and the minimum value points) 4. Titanic Casualties -
Use the standard 'Titanic' dataset which is part of R Base (a)
Use an appropriate apply futuction to get the sum of males vs

2. Write a R function to find and return the maximum and the minimum value points) 4. Titanic Casualties - Use the standard 'Titanic' dataset which is part of R Base (a) Use an appropriate apply futuction to get the sum of males vs females aboard.(10 points) (b) Get a table with the sum of sturvivors vs sex (10 points) (c) Get a table with the sum of passengers by sex vs age.(10 points) 1. Write a R function to create a sequence of numbers from 20 to 50 and find the mean of numbers from 20 to (B) and sam of numbers froms 51 to 91 . This functhon returns a list objects that includes the result of each operation (20 points) 3. Use: three: 'apply' family fanctbons to get the minimum values of each column of the 'mintars'. dataset (hint: 'lapply', 'sapply'. 'mapply'). (a) Store each output in a separate object ('l', ' 8 ', 'm') and get the outputs. 10 points) (b) Put the three outputs ' l,,s ', ' m ' th the list 'listobjects' (10 points) (c) Use a suitable 'apply' fanction to get the class of each of the three list elements in 'listobjects'(10 points) (d) Name the output classes for each of the three fumctions usexd in the exercise(10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!