Question: Please help. Using R get# Q0 # Read in the train.csv file and name your object train. ##### Don't forget to use the strings =T

Please help. Using R
get\# Q0 \# Read in the train.csv file and name your object train. \#\#\#\#\# Don't forget to use the strings =T argument in read.csv(). train$ MoSold) \# Q5 \# Use the sum() function on a logical vector \#\#\#\#\# to count how many homes have a sales price of $181,000. sum(is. na(train\$SalesPrice), is.na=181,000) \# Q6 \# There are 4 rating categories for kitchen quality: \#\#\#\#\# fair, average, good, and excellent. \#\#\#\#\#\# Use the sum() function on a logical vector to count \#\#\#\#\#\# how many homes have kitchen quality rated as "Excellent"? \#\#\#\#\#\# Hint: use the summary() function on the kitchen quality column \#\#\#\#\# to see how this quality category is spelled. \# Q7 \# Use the sum() function on a logical vector to count \#\#\#\#\# how many homes sold for more than $350,000 \#\#\#\#\# and have "Excellent" as their kitchen quality. \# Q8 \# Use the mean() function to find the average sales price \#\#\#\#\#\# for a home with kitchen quality rating of "Excellent". \# Q9 \# Use the mean() function to find the average sales price \#\#\#\#\# for a home with kitchen quality rating of "Excellent" \#\#\#\#\# or has a garage for more than 2 cars. \# Q10 \# Use the which() function on a logical vector to find \#\#\#\#\#\# the observations number(s) for a home with a \#\#\#\#\#\# kitchen quality rating of "Excellent" \#\#\#\#\# and sales price of at most $195,000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
