<- lm(rating ~ lang, data=lls) # (Intercept) is included by default
m summary(m) # significant difference between EN and NL
Call:
lm(formula = rating ~ lang, data = lls)
Residuals:
Min 1Q Median 3Q Max
-1.9843 -0.4177 0.0753 0.4134 1.6346
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.0128 0.0689 -0.19 0.8525
langNL 0.2939 0.0980 3.00 0.0031 **
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 0.665 on 182 degrees of freedom
Multiple R-squared: 0.0471, Adjusted R-squared: 0.0418
F-statistic: 8.99 on 1 and 182 DF, p-value: 0.0031