normal distribution test in r code example Example: r test normality # Null hyp: data is normal shapiro.test(df$col)