# Creating the Life Expectancy T-test for only Females.
lifexpectancyfemale.ttest<-function(lifeexpectancyfemale.ttest){
+ femaleage<-lifeexpectancy$Female[6:80]
+ return(femaleage)}
> lifexpectancyfemale.ttest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.