By year across our two Madison River sites, Hebgen and Varney Bridge:
## `geom_smooth()` using formula = 'y ~ x'
## Saving 8 x 5 in image
## `geom_smooth()` using formula = 'y ~ x'
Results for our linear regressions:
HEBGEN -
lmHebgen = lm(sumExuvia ~ year, data = sum_byyear_hebgen)
summary(lmHebgen)
##
## Call:
## lm(formula = sumExuvia ~ year, data = sum_byyear_hebgen)
##
## Residuals:
## 1 2 3 4 5 6 7
## -15.47 -340.90 -122.74 1407.41 -212.01 -674.43 -41.86
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) -100351.65 196202.55 -0.511 0.631
## year 50.42 97.12 0.519 0.626
##
## Residual standard error: 723 on 5 degrees of freedom
## Multiple R-squared: 0.05116, Adjusted R-squared: -0.1386
## F-statistic: 0.2696 on 1 and 5 DF, p-value: 0.6258
VARNEY -
lmVarney = lm(sumExuvia ~ year, data = sum_byyear_varney)
summary(lmVarney)
##
## Call:
## lm(formula = sumExuvia ~ year, data = sum_byyear_varney)
##
## Residuals:
## 1 2 3 4 5 6 7
## 202.227 -39.593 -248.232 9.129 -31.691 -63.510 171.670
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 83935.48 45191.75 1.857 0.122
## year -41.18 22.37 -1.841 0.125
##
## Residual standard error: 166.5 on 5 degrees of freedom
## Multiple R-squared: 0.404, Adjusted R-squared: 0.2848
## F-statistic: 3.389 on 1 and 5 DF, p-value: 0.125