original_compare_plot {nncc}R Documentation

Compare the original strata's distances to the knn version

Description

Compare the original strata's distances to the knn version

Usage

original_compare_plot(data, casevar, stratavar, threshold_results)

Arguments

data

The original data

casevar

The variable that defines cases vs. controls

stratavar

The variable that defines the strata

threshold_results

See get_threshold

Value

An list with items:

plot_density

The ggplot displayed

prop_distance_gt_threshold

A table showing proportion of pairs exceeding numeric threshold chosen


[Package nncc version 2.0.0 Index]