View source: R/create_data_sets.R
Create a dataset with yearly observations of fruit, size, and insect observations. Each starts on the first day of spring of that calendar year, then ends on the last day of winter in the next calendar year (e.g., Spring 2009 - Winter 2010). Variables that are calculated included the maximum number of fruit observed, insect presence/absence during the year, and the maximum and minimum plant size that year. All years, except for 2009, have two observations per year. The dataset is created according to the following steps:
create a year variable (called "FecundityYear")
determine if insect was ever observed during the FecundityYear
calculate maximum and minimum plant size and volume
determine if surveys were complete for the entire year (no missing information)
1 | createFruitYearDataset(timeseries)
|
timeseries |
Dataset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.