Question: Write code on R-studioR language 1. Suppose we have the following data on the Powerpuff Girls: Name Age Gender* SSN 204 401 101 666 777
Write code on R-studioR language
1. Suppose we have the following data on the Powerpuff Girls: Name Age Gender* SSN 204 401 101 666 777 Blossum Buttercup Bubbles 6 Mojo Jojo 43 Professor 56 *(1=Male, 0=Female) 1 a) Create a dataframe that includes all of the available data. (b) Determine the number of characters (individuals) in the dataset. (c) Calculate the number of males and females in the group. (d) What is the average age of the characters? What about the mean age of just the females
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
