- Calculate the mean and 95% confidence interval for bill length for each of the species in the
penguins
dataset.
- Calculate the correlation between bill length and bill depth using Pearson’s, Kendall’s, and Spearman’s methods.
- Extract the correlation coefficient, 95% CIs, t-statistic, and p-value for the Pearson results from #2 and format it for inserting as inline R Markdown syntax.
- Calculate a one-sample t-test comparing the mean flipper length to 200.
- Calculate a paired t-test comparing the bill lengths and depths.
- Calculate a two-sample, independent Wilcoxon sum rank test for the effect of sex on bill length and extract the W-statistic and p-value for inclusion in inline R Markdown.
- Calculate an ANOVA with bill length as the dependent variable and examine both main effects and the interaction between species and sex. Output the ANOVA table that is ready to insert into an R Markdown document.