alpscarf_add_height: calculate conformity/revisiting scores and translate them...

Description Usage Arguments Value

View source: R/alpscarf_add_height.R

Description

calculate conformity/revisiting scores and translate them into bar height

Usage

1
2
3
alpscarf_add_height(dwell_df = NULL, expected_order = NULL,
  height_mode = c("linear", "exponential"), scale_factor = 0.1,
  base_factor = 2)

Arguments

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

Value

a tibble with conformity/revisiting scores and bar height information


Chia-KaiYang/alpscarf documentation built on May 21, 2020, 4:25 a.m.