survivor_age_mean: Survivor Age Mean

Description Usage Arguments Value Examples

View source: R/survivor_age_mean.R

Description

This function analyses and returns the mean age among the people who survived.Its also gives the age group, which is most likely to survive.

Usage

1

Arguments

df:

The titanic train data set which we imported and converted to df dataframe.

sboa

Variable to store the output of the analysis.

plot_age

: subset to store a dataframe containting age and survival rate.

graph_age

: variable containing the graph representing the relationship between age and survival rate

Value

The mean age of the survivors and the most proobable age of survival and the graphical representation between age and survival.

Examples

1

unimi-dse/a2b3bab6 documentation built on Feb. 22, 2020, 5:43 a.m.