survival_mean_class: Relationship between ticket class and survival.

Description Usage Arguments Value Examples

View source: R/survival_mean_class.R

Description

This function analyses the relationship between survival rate and ticket class of the passengers.

Usage

1

Arguments

df

The Titanic dataframe which gets imported after running the import_data functions.

sub_class:

Subset dataframe containing the Class for passengers and their respective survival rate.

sboc

: Variable which stores the the analysis of the mean ticket class

plot_sboc:

Variable to store the graph behind the analysis

sboc_output

: a variable which stores both the analysis and plot results in a list.

Value

the analysis behind the relationship between the ticket class and also the graph based on the relationship.

Examples

1

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