Code
# Access custom defined functions
targets::tar_source("../R_functions")# Access custom defined functions
targets::tar_source("../R_functions")make_plotdata_racegender_mixing_matrix() |>
plot_matrix_mixing() +
scale_fill_mpxnyc_gradient() +
scale_color_mpxnyc_gradient() +
theme_mpxnyc_mixing()
Patterns of mixing reveal how social worlds overlapped—and where they stayed distinct—within queer and trans New York. Using spatial mixing coefficients, we measured the degree to which participants who shared certain characteristics (such as race, gender, sexual orientation, or age) tended to live or play in the same neighborhoods.
Across all categories, participants showed spatial homophily—people were more likely to live or go out in community districts where others shared their demographic traits. Yet the pattern was not uniform. Black cisgender men and non-binary participants tended to visit or reside in different neighborhoods than white cisgender men, indicating parallel but distinct social geographies. Non-binary people also showed spatial proximity to transgender men, suggesting overlapping community spaces.
When stratified by sexual orientation, gay-identified participants clustered in neighborhoods where bisexual, straight, and queer-identified participants were less present—and those groups, in turn, were less present in gay-leaning clusters of neighborhoods. These mirrored preferences underscore how social identity, geography, and nightlife intertwine to shape opportunity for connection—and risk for infection.
plot_icon(icon_name = "bear", color = "light_brown", shape = 8)