# t-distribution is a family parameterized by degrees of freedom t_values <- rt(n = 10000, df = 10) hist(t_values, breaks = 30)
# normalize distribution for QQ t_values <- (t_values - mean(t_values))/sd(t_values) qqnorm(t_values); qqline(t_values, col = 2)