@harry wrote:
I am currently trying to solve kaggle titanic problem I want to see how Sex variable effects the survival of the passenger for this I have used the table function but I want to know proportion by which Sex affects the Survival.
table(train$Sex, train$Survived) 0 1 female 81 233 male 468 109
Here the numbers are absolute.I want them in proportion.
Posts: 2
Participants: 2