View source: R/create_dataset_summary.R

calc_number_of_years_sampled | R Documentation |

Calculate number_of_years_sampled for the dataset_summary table

```
calc_number_of_years_sampled(dates)
```

`dates` |
(Date) Dates from the L0 source dataset encompassing the entire study duration. |

(numeric) Number of survey years in which a sample was taken.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.