R/LifeExpectancyMales.R

Defines functions lifexpectancy.ttest

# Creating the Life Expectancy T-test for Males only.
lifexpectancy.ttest<-function(lifeexpectancy.ttest){
  + Maleage<-lifeexpectancy$Male[6:80]
  + return(Maleage)}
> lifexpectancy.ttest()
daltonwesley/Lifeexpectancy-R-project documentation built on Dec. 19, 2021, 8:03 p.m.