mpath_example {mpathr} | R Documentation |
Get path to m-Path example data
Description
This function provides an easy way to access the m-Path example files.
Usage
mpath_example(file = NULL)
Arguments
file |
the name of the file to be accessed. If |
Value
a character string with the path to the m-Path example data
Examples
# Example 1: access 'example_basic.csv' data
mpath_example('example_basic.csv') # returns the full path to the file
'example_basic.csv'
# Example 2: list all the example files
mpath_example() # returns the example files as a vector
[Package mpathr version 1.0.2 Index]