You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/04-synthesis-data.Rmd
+32-30Lines changed: 32 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The first contains all the canopy cover values for 2018, which was created in th
13
13
The second is the cumulative growing degree days for all of 2018, which were calculated from the daily minimum and maximum temperatures in the weather vignette.
14
14
They are combined by their common column, the date.
@@ -74,24 +74,26 @@ We provide estimated values for the asymptote $c$ and initial canopy cover value
74
74
The below provides better estimates for the $c$, $a$, and $b$ parameters, which are used to plot the model as an orange line on top of the black points which are actual values.
geom_line(aes(x = gdd_cum, y = mean_predict), color = "orange") +
@@ -103,9 +105,8 @@ We then calculate the inflection point for this cultivar's model.
103
105
The maximum growth rate is the change in canopy cover per day at the rate of maximum growth. The growing degree day at which maximum growth is obtained is called the _inflection point_. This occurs near the midpoint of the y-axis, or $\frac{c - a}{2}$.
labs(x = "Cumulative growing degree days", y = "Canopy Height")
143
151
```
144
152
@@ -148,15 +156,9 @@ The last thing that we are going to do is assess the difference in this relation
148
156
We are going to use the inflection point from the logistic growth model, which indicates when canopy cover stops increasing as quickly with increasingly more warm days.
149
157
The resulting inflection points for each cultivar are plotted as a histogram.
150
158
151
-
```{r plot_inflections, eval=FALSE}
152
-
ggplot(all_cultivars) +
153
-
geom_point(aes(x = gdd_cum, y = mean)) +
154
-
geom_line(aes(x = gdd_cum, y = mean_predict), color = "orange") +
155
-
geom_vline(aes(xintercept = inf_point)) +
156
-
facet_wrap(~cultivar, scales = "free_y") +
157
-
labs(x = "Cumulative growing degree days", y = "Canopy Height")
0 commit comments