1 Set up

1.1 1) Load packages

1.2 2) Import data

1.3 3) Data Wrangling

1.4 4) Theme James Bar

1.5 5) Theme James Correlation

2 Correlation Matrix

##  [1] "location"    "treatment"   "bdepth"      "horizon"     "blk"        
##  [6] "replication" "x20wsa2000"  "x20wsa250"   "x20wsa53"    "x20wsa20"   
## [11] "x20mwd"      "x5wsa2000"   "x5wsa250"    "x5wsa53"     "x5wsa20"    
## [16] "x5mwd"       "nagg"        "location_f"

3 Methods Comparison

3.1 Data Manipulation

3.2 20mwd and 5mwd Correlation graphs

use soils data frame and location_a and horizon_a

3.2.1 Correlation plots for group depths

## 8-2 mm 20 and 5 Correlation graphs use soils data frame and location_a and horizon_a

## 2-0.25 mm 20 and 5 Correlation graphs use soils data frame and location_a and horizon_a

3.2.2 end of 8-2 mm

3.3 20mwd and NRCS Correlation graphs

use soils_b data frame and location_b and horizon_b

3.3.1 Correlation plots for group depths

3.4 NRCS and 5mwd Correlation graphs

use soils data frame and location_a and horizon_a

3.4.1 Correlation plots for group depths

3.5 MWD Bland-Altman plots

## NULL

## NULL
## 
## Call:
## lm(formula = x5mwd ~ x20mwd, data = soils)
## 
## Residuals:
##      Min       1Q   Median       3Q      Max 
## -1.80351 -0.29802 -0.05178  0.24953  1.69249 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept)  0.47932    0.08718   5.498  1.8e-07 ***
## x20mwd       0.77334    0.07969   9.704  < 2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.5395 on 138 degrees of freedom
## Multiple R-squared:  0.4056, Adjusted R-squared:  0.4013 
## F-statistic: 94.17 on 1 and 138 DF,  p-value: < 2.2e-16

3.5.1 Correlation plots for group depths

4 Regression

5 Data wrangling

5.1 20mwd and AMF Correlation graphs

5.1.1 MWD vs AMF Correlation plots for group depths

5.2 20mwd and MB Correlation graphs

5.2.1 MWD vs MB Correlation plots for group depths

5.3 20mwd and Fungi Correlation graphs

5.4 8-2 mm and AMF Correlation graphs

5.4.1 8-2 mm vs AMF Correlation plots for group depths

5.5 8-2 mm and MB Correlation graphs

5.5.1 8-2 mm vs MB Correlation plots for group depths

5.6 8-2 mm and fungi Correlation graphs

5.7 2-0.25 and AMF Correlation graphs

5.7.1 2-0.25 mm vs AMF Correlation plots for group depths

5.8 2-0.25 and MB Correlation graphs

5.8.1 2-0.25 mm vs MB Correlation plots for group depths

5.9 2-0.25 mm and Fungi Correlation graphs

6 end