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
+29-11Lines changed: 29 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ The second analysis compares greenness from image data with canopy cover.
9
9
## Get and join data
10
10
11
11
Here we combine two dataframes.
12
-
The first contains all the canopy height values for 2017, which was created in the traits vignette.
13
-
The second is the cumulative growing degree days for all of 2017, which were calculated from the daily minimum and maximum temperatures in the weather vignette.
12
+
The first contains all the canopy cover values for 2018, which was created in the traits vignette.
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.
We are interested in how growing degree days affects canopy cover.
63
62
To investigate this, we are going to model and plot their relationship.
64
63
We want to know the relationship for each cultivar, so we'll start of by determining the parameters of the model for one of the cultivars in our dataset.
65
-
We are using a logistic growth model here because it is appropriate for the shape of the GDD-cover relationship.
64
+
We are using a logistic growth model here because it is appropriate for the shape of the GDD-cover relationship. (From Bolker? ... need to cite)
65
+
66
+
This needs to be flushed out ... and the variable names should be consistent b/w equations and code
67
+
68
+
The logistic growth model is specified as
69
+
70
+
$Y=\frac{z}{1+e^{-k(t-t_0)}}$
71
+
72
+
$Y = \frac{c}{1+e^{a + b * \textrm{gdd}}}$
73
+
74
+
Where $Y$ is canopy cover, $c$ is the maximum canopy cover, $a$ is ... $b$ is ...
75
+
76
+
From this we can find the asymptote and maximum growth rate. 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_ $\textrm{gdd}_i=\frac{\log{a}}{b}$.
77
+
<!--
78
+
or maybe start from the bolker form of the model (I added )
79
+
if $Y=\frac{e^{a+b(t-t_0)}}{1+e^{a+b(t-t_0)}}$
80
+
81
+
then $t-t_0$ is the number of days after planting.
66
82
83
+
then the inflection point is at $x=\frac{-a}{b}$ and the maximum rate of growth, $\max{\frac{dY}{dt}}=\frac{b}{4}$
In this examnple we will extract our plot data from a series of images taken in May of Season 6, measure its "greeness" annd plot that against the plant heights from above in this vignette.
131
149
132
-
The chosen statistic here is the normalised green-red difference index, NGRDI=(R-G)/(R+G) (Rasmussen et al., 2016), which uses the red and green bands from the image raster.
150
+
The chosen statistic here is the normalised green-red difference index, $\textrm{NGRDI}=\frac{R-G}/{R+G}$ (Rasmussen et al., 2016), which uses the red and green bands from the image raster.
133
151
134
152
Below we retrieve all the available plots for a particular date, then find and convert the plot boundary JSON into tuples.
135
153
We will use these tuples to extract the data for our plot.
0 commit comments