View source: R/VisualizationFunctions.R
plot_filter_results | R Documentation |
This function visualizes validity measures of fixations detected with one or more fixation detection algorithms.
The function is tested for fixation data frames generated with kollaR event detection algorithms. By default, the function can plot
Root Mean Square Deviations of detected fixations, fixation duration and the proportion of missing raw samples.
The output data is a ggplot which can be modified further outside the function.
If you want to use this function to compare more than one fixation detection algorithms, combine them using the function
rbind in base R. For example, rbind(my_data1[["fixations"]], my_data2[["fixations"]])
would generate a combined data frame with the
fixations detected by two event classification procedures.
plot_filter_results(data_in, plot.variable = "rmsd")
data_in |
Data frame with fixations to plot |
plot.variable |
Variable to plot. If left empty, RMSD of fixations are plotted. Alternatives are "rmsd", "duration", "missing.samples" |
A ggplot with visualizations of the selected validity measure
plot_filter_results(data_in = sample.data.fixations, plot.variable = "rmsd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.