set_protocol_manual | R Documentation |
set_protocol_manual()
allows to set any user-defined load profile
for an exercise test.
set_protocol_manual(duration, load = NULL)
## Default S3 method:
set_protocol_manual(duration, load)
## S3 method for class 'data.frame'
set_protocol_manual(duration, load = NULL)
duration |
Either a numeric vector containing the duration (in seconds)
of each load step, or a |
load |
A numeric vector of the same length as |
A data.frame
with the duration and load of each protocol step.
set_protocol_manual(default)
: Default method when duration and load are
given separately
set_protocol_manual(data.frame)
: Method for data frames with a duration and a
load column
set_protocol for protocol setting with helper functions.
get_protocol For automated extracting of protocols from raw data.
set_protocol_manual(
duration = c(300, 120, 300, 60, 300),
load = c(3, 5, 3, 6, 3)
)
# using a data.frame as input
pt_data <- data.frame(
duration = c(180, 150, 120, 90, 60, 30),
load = c(200, 250, 300, 350, 400, 450)
)
set_protocol_manual(pt_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.