gen_caliper_list: gen_caliper_list

Description Usage Arguments Value

View source: R/gen_caliper_list.R

Description

Wrapper function to unify caliper input.

Usage

1
gen_caliper_list(caliper_vec = NULL, caliper_max = NULL, continuous_mult = 100)

Arguments

caliper_vec

Default NULL; numeric vector that stops matches if beyond caliper_max.

caliper_max

The maximum allowed difference.

continuous_mult

The value to multiply differences above caliper max. Set as Inf to have infinite penalties.

Value

Either NULL, or a list with the same names as the input, after checking values.


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.