calc_r_alerting_from_f function

Calculate r_alerting from F-values