Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 femalesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started