original_compare_plot | R Documentation |
Compare the original strata's distances to the knn version
original_compare_plot(data, casevar, stratavar, threshold_results)
data |
The original data |
casevar |
The variable that defines cases vs. controls |
stratavar |
The variable that defines the strata |
threshold_results |
See |
An list with items:
plot_density |
The ggplot displayed |
prop_distance_gt_threshold |
A table showing proportion of pairs exceeding numeric threshold chosen |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.