Answered step by step
Verified Expert Solution
Question
1 Approved Answer
* Use the word file Casez _ README for detailed question prompts for this case. # R code goes on the line after each question
Use the word file CasezREADME for detailed question prompts for this case. # R code goes on the line after each question pronpt # Qoa # Use the read.csv function to read in the data. ###N Name your object train and don't forget the stringsT argunent. # Qb # Use the Library function to load the gantr Library. # # Use the sum and isna functions in a single line of code NHANHW to count the total number of NAs in the dataset. # Q Use the sum and isna functions in a single tine of code ######H# to count the number of hones that do note have a lot frontage recorded. # Q # Use the sun and is na functions in a single line of code ##AH## to count the number of hoses that do have a lot frontage recorded. # Q # Use the mean function to compute the average ##ANANH Lot frontage of the homes in this dataset. # # Use the mean function to conpute the average #AN### lot frontage for a home with at least fireplace. # # Use the mean function to compute the average Annnn# sales price for a home with lot configuration recorded as corner. # # Use tapply to compute the mean sales price, ### broken out by lot configuration. ###HANH# tapply is explained in the README in the Canvas assignment! # Q # Type a line of code: nareftrain inpute T ###NHANH and give it the object nane trImp short for "train imputed" # # Use the sum and isna functions in a #### single line of code on the trimp datafrase to verify #HNNW# there are no missing values in your inputed data frame.
Step 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