plot_schema {HDSpatialScan} | R Documentation |
Schema of the clusters
Description
This function plots a schema of the sites and the clusters
Usage
plot_schema(
output_clusters,
sites_coord,
system,
system_conv = NULL,
colors = "red"
)
Arguments
output_clusters |
list. List of the sites in the clusters: it is the sites_clusters of the output of NPFSS, PFSS, DFFSS, URBFSS, MDFFSS, MRBFSS, MG, MNP, UG or UNP, or the sites_clusters_LH/sites_clusters_W/sites_clusters_P/sites_clusters_R of the MPFSS. |
sites_coord |
numeric matrix. Coordinates of the sites, in the same order that the data for the cluster detection. |
system |
character. System in which the coordinates are expressed: "Euclidean" or "WGS84". |
system_conv |
character. System to convert the coordinates for the plot. Only considered if system is "WGS84". Must be entered as in the PROJ.4 documentation |
colors |
character. Colors of the clusters. If length(colors)=1 all the clusters will be in this color. Else it should be a vector of length the number of clusters to plot. |
Value
No value returned, plots a schema of the sites and the clusters.