🚁 Experiment design and data analysis using R

Prerequisite: download RStudio or use Colab

Check the assumption of normality of our data

normality_check <- shapiro.test(mydata$myDependentVariable)

if (normality_check$p.value > 0.05){

  print("The data comes from a population that is normally distributed. Do parametric statistical analysis")

} else {

  print("The data is not normally distributed. Do non-parametric statistical analysis")

Compare two conditions

Compare more than three conditions

🎠 Plot the results

⛵️ Self-learning and debugging

Try googling different combinations of keywords: 

E.g.: R t-test example; R [error message] stackoverflow; R colab install packages, etc.  



Work in progress (last updated: 2022/08)