Learn R Programming

heartbeatr (version 1.0.0)

pulse_example: Get paths to pulse example files

Description

heartbeatr-package comes bundled with several sample files in its inst/extdata directory. This function make them easy to access

Usage

pulse_example(pattern = NULL)

Value

The full path to one or more example files, or the filenames of all example files available.

Arguments

pattern

Pattern to select one or more example files. Pattern is vectorized, so more than one value can be supplied. If NULL, all example files are listed.

See Also

  • pulse_read() can be used to read data from the example files

  • PULSE() is a wrapper function that executes all the steps needed to process PULSE data at once, and it can be called to read and process the example files

Examples

Run this code
# Get the paths to all example files
pulse_example()

Run the code above in your browser using DataLab