I have below CSV , learning R. Trying to write script to read CSV , aggregate Count by Survival (and or Class) and also plot percentages.
Something like Alive 711(sum of Count) 32.3% of total count. Please share how to do this in R/RStudio. Thanks!
Survival Class Count
Alive First 203
Alive Second 118
Alive Third 178
Alive Crew 212
Dead First 122
Dead Second 167
Dead Third 528
Dead Crew 673