+ 1
Why is the code failing?
1 Answer
+ 1
3 things:
* when you submit the code, remember to output ONLY the result, not anything else (not the summary, for example)
* the relevant columns are called Age, Pclass and Survived. Check the spelling of the later 2 in your code
* use tapply to get the mean Pclass grouped by Survived