Description Usage Arguments Value
View source: R/alpscarf_add_height.R
calculate conformity/revisiting scores and translate them into bar height
1 2 3 | alpscarf_add_height(dwell_df = NULL, expected_order = NULL,
height_mode = c("linear", "exponential"), scale_factor = 0.1,
base_factor = 2)
|
dwell_df |
a data frame of AOI visits, contains at least 2 columns, "p_name" "AOI" |
expected_order |
expected visit order, two columns "AOI" and "AOI_order" |
height_mode |
to select between linear mode and exponential mode of mountain height |
scale_factor |
to specify scale of mountain height |
base_factor |
to specify the base of exponent which changes mountain shape, only valid in exponential mode |
a tibble with conformity/revisiting scores and bar height information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.