calculate_distance {drifter} | R Documentation |
Calculate Non-Intersection Distance
Description
Calculate Non-Intersection Distance
Usage
calculate_distance(variable_old, variable_new, bins = 20)
Arguments
variable_old |
variable from 'old' data |
variable_new |
variable from 'new' data |
bins |
continuous variables are discretized to 'bins' intervals of equal size |
Value
Non-Intersection Distance
Examples
calculate_distance(rnorm(1000), rnorm(1000))
calculate_distance(rnorm(1000), runif(1000))
[Package drifter version 0.2.1 Index]