damr_example: Get path to damr example

Description Usage Arguments Author(s) Examples

View source: R/example.R

Description

damr comes with a sample DAM2 files in its inst/extdata directory. damr_example allow make them easy to access.

Usage

1
2
3

Arguments

path

Name of file. If NULL, the example files will be listed.

Author(s)

Hadley Wickham (modified from readr)

Examples

1
2
3
4
5
6
# list all files
damr_example()
# get path to one file
damr_example("M014.txt")
# get the directory wih all the files
damr_example_dir()

damr documentation built on Nov. 16, 2020, 9:06 a.m.