exampledataset: How to document datasets.

Description Format Source Examples

Description

This is an example showing how to document datasets included in the package (in data folder): you must specify docType and name; do not forget NULL in the end. Can include other fields, like citation. See http://r-pkgs.had.co.nz/data.html for further explanations.

Format

A numeric vector.

Source

This example modified from C. Boettiger's template package https://github.com/cboettig/template.

Examples

1
2
3
4
5
## Not run: 
data(exampledataset)
str(exampledataset)

## End(Not run)

Pakillo/template documentation built on May 29, 2021, 10:42 a.m.