graphs_traceplots: An auxiliary function to generate traceplot graphs based on...

View source: R/graphs_traceplots.R

graphs_traceplotsR Documentation

An auxiliary function to generate traceplot graphs based on MCMC results for further analysis.

Description

An auxiliary function to generate traceplot graphs based on MCMC results for further analysis.

Usage

graphs_traceplots(resultados, dados, plot_color, add_trendline, save_file)

Arguments

resultados

A list containing MCMC results, including elements like "S", "burn", "alfa", "mu", "tau.theta", "tau.phi", and "tau.e".

dados

A list containing dataset information.

plot_color

A character indicating the color for the plot lines.

add_trendline

A logical indicating whether to add a trendline to the plots.

save_file

A logical indicating whether to save the generated plots to files.

Value

It generates traceplot graphs based on the provided MCMC results and saves them if specified.

References

NUNES, Letícia. Métodos de Simulação de Dados Geográficos Sintéticos Para Bases Confidenciais. *Dissertação de Mestrado*, [s. l.], 2018. Disponível em: :{http//est.ufmg.br/portal/arquivos/mestrado/dissertacoes/dissertacao_Leticia_Silva_Nunes.pdf

Examples

# Example usage:
# graphs_traceplots(resultados, dados, plot_color = "blue", add_trendline = TRUE, save_file = TRUE)


leogalhardo/leo_galhardo documentation built on June 13, 2025, 12:40 p.m.