Description Usage Arguments Value
View source: R/compare_session_log.R
Compare a Marker channel in fEMG data to a sequence of markers in a session log file
1 2 3 4 5 6 7 8 9 10 11 | compare_session_log(
femg_data,
data_marker_channel,
data_time_channel,
session_log,
log_marker_channel,
log_start_time,
log_end_time = NULL,
log_duration = NULL,
fill_marker_values = FALSE
)
|
femg_data |
data frame or tibble |
data_marker_channel |
the name of the column in femg_data that corresponds to the marker channel |
data_time_channel |
the name of the column in femg_data that gives the time in seconds |
session_log |
data frame or tibble |
log_marker_channel |
the name of the column in session_log that corresponds to the marker channel |
log_start_time |
the name of the column in session_log that has the start times of the markers |
log_end_time |
The name of the column in session_log that has the end times of the markers. Must be provided if log_duration is NULL. |
log_duration |
The name of the column in session_log that has the durations of the markers. Must be provided if log_end_time is NULL. |
fill_marker_values |
set to TRUE if you want to fill marker values in femg_data based on the duration in the session log |
a list:
session_log_aligned
synced
start_offsets
end_offsets
comparison_plot
femg_data_filled_markers (if fill_marker_values = TRUE)
filled_plot (if fill_marker_values = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.