# NOT RUN {
## Plot spot diagram...
## ...of count data...
mississippi_count <- as_count(mississippi)
### ...without threshod
plot_spot(mississippi_count)
### ...with the column means as threshold
plot_spot(mississippi_count, threshold = mean)
### ...with the column medians as threshold
plot_spot(mississippi_count, threshold = median)
## ...of a similarity matrix
sim <- similarity(mississippi_count, method = "brainerd")
plot_spot(sim)
## ...of a co-occurrence matrix
occ <- as_occurrence(mississippi)
plot_spot(occ)
# }
Run the code above in your browser using DataLab