Skip to contents

siera comes bundled with some example ARD-producing scripts in its `inst/script` directory. This function make them easy to access.

Usage

ARD_script_example(path = NULL)

Arguments

path

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

Value

A list of example R files (if path is NULL), or a file itself if path is used.

Examples

ARD_script_example()
#> [1] "ARD_Out14-1-1.R"
ARD_script_example("ARD_Out14-1-1.R")
#> [1] "/home/runner/work/_temp/Library/siera/script/ARD_Out14-1-1.R"