#' t-test between salary cap and total salary for a team
#' @param df1 a NBA team
#' @param
#' @return T-test between cap salary and total salary results
#' @examples cap_team(Spurs), cap_team(Rockets),cap_team(Mavericks)
#' @export
cap_team<- function(df){
t.test(df$Salary_Cap,df$Total_Salary,alternative="two.sided",paired = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.