use soils data frame and location_a and horizon_a
### Correlation plots for group depths
use soils_b data frame and location_b and horizon_b
use soils data frame and location_a and horizon_a
## Warning: package 'BlandAltmanLeh' was built under R version 4.0.4
## Warning in plot.window(...): "na.rm" is not a graphical parameter
## Warning in plot.xy(xy, type, ...): "na.rm" is not a graphical parameter
## Warning in axis(side = side, at = at, labels = labels, ...): "na.rm" is not a
## graphical parameter
## Warning in axis(side = side, at = at, labels = labels, ...): "na.rm" is not a
## graphical parameter
## Warning in box(...): "na.rm" is not a graphical parameter
## Warning in title(...): "na.rm" is not a graphical parameter
## NULL
## NULL
##
## Call:
## lm(formula = x5mwd ~ x20mwd, data = soils)
##
## Residuals:
## Min 1Q Median 3Q Max
## -1.80182 -0.29896 -0.05003 0.25248 1.69542
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 0.47598 0.08690 5.477 1.97e-07 ***
## x20mwd 0.77398 0.07955 9.730 < 2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.5386 on 139 degrees of freedom
## Multiple R-squared: 0.4051, Adjusted R-squared: 0.4009
## F-statistic: 94.67 on 1 and 139 DF, p-value: < 2.2e-16