plot_sci {cacc}R Documentation

Lorenz Curve for the Situational Clustering Index

Description

Plots a Lorenz Curve for the Situational Clustering Index (SCI) to visualize the magnitude of the clustering of observations among dominant profiles in a cacc_matrix.

Usage

plot_sci(cacc_matrix)

Arguments

cacc_matrix

A tibble. The output of the cacc function.

Value

Returns a ggplot object.

References

Hart, T. C. (2019). Identifying Situational Clustering and Quantifying Its Magnitude in Dominant Case Configurations: New Methods for Conjunctive Analysis. Crime & Delinquency, 66(1), 143-159.

Examples

plot_sci(cacc_matrix = cacc(onharassment, ivs = sex:privacy, dv = rep_victim))

[Package cacc version 0.1.0 Index]