View source: R/scatteplot_syn.R
plot_syn | R Documentation |
Scatter Plot for Synthetic Data
plot_syn(coord_syn, n_syn)
coord_syn |
A list containing synthetic coordinates. |
n_syn |
An integer specifying the number of synthetic coordinate sets to plot (must be between 4 and 10). |
This function creates scatter plots for the synthetic data.
# Example usage:
# dados_sem_coord <- as.data.frame(dados_sem_coord)
# coordenadas <- as.data.frame(coordenadas)
# n_syn <- 5
# coord_restricted_area <- matrix(c(
# 4, 4,
# 4, 5,
# 6, 5,
# 6, 4,
# 4, 4
# ), ncol = 2, byrow = TRUE)
# coordenadas_sinteticas <- syncoordinates(dataset = dados_sem_coord,
# coord = coordenadas,
# grid = 10,
# continuous = 4,
# list_mcmc = mcmc_dados,
# n.syn = n_syn,
# coord_restricted_area = coord_restricted_area)
# plot_syn(coordenadas_sinteticas, n_syn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.