serocalculator_example {serocalculator} | R Documentation |
Get path to an example file
Description
The serocalculator package comes bundled with a number of sample files
in its inst/extdata
directory.
This serocalculator_example()
function make those sample files
easy to access.
Usage
serocalculator_example(file = NULL)
Arguments
file |
Name of file. If |
Details
Adapted from readr::readr_example()
following the guidance in
https://r-pkgs.org/data.html#sec-data-example-path-helper.
Value
a character string providing
the path to the file specified by file
,
or a vector or available files if file = NULL
.
Examples
serocalculator_example()
serocalculator_example("example_pop_data.csv")
[Package serocalculator version 1.3.0 Index]