Usage
SGDr_example(file = NULL)
Arguments
- file
Name of file. If NULL
, the example files will be listed.
Details
SGDr comes bundled with a number of sample files in its inst/extdata
directory. This function make them easy to access
Examples
SGDr_example()
#> [1] "consts.json" "obs_data.csv" "preferred.json" "test_data.csv"
SGDr_example("test_data.csv")
#> [1] "/home/runner/.cache/R/renv/library/SGDr-8000858b/linux-ubuntu-noble/R-4.4/x86_64-pc-linux-gnu/SGDr/extdata/test_data.csv"