R/LifeExpectancyBoth.R

Defines functions lifexpectancyboth.ttest

# Creating the Life Expectancy T-test for both Male and Females per country.
lifexpectancyboth.ttest<-function(lifeexpectancyboth.ttest){
  + Bothage<-lifeexpectancy$Both[6:80]
  + return(Bothage)}
> lifexpectancyboth.ttest()
daltonwesley/Lifeexpectancy-R-project documentation built on Dec. 19, 2021, 8:03 p.m.