Learn R Programming

damr (version 0.3.7)

damr_example: Get path to damr example

Description

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

Usage

damr_example(path = NULL)

damr_example_dir()

Arguments

path

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

Examples

Run this code
# NOT RUN {
# list all files
damr_example()
# get path to one file
damr_example("M014.txt")
# get the directory wih all the files
damr_example_dir()
# }

Run the code above in your browser using DataLab