media_lambda: An auxiliary function to create visual representations of...

View source: R/media_lambda.R

media_lambdaR Documentation

An auxiliary function to create visual representations of lambda-related values based on MCMC results.

Description

It generates spatially-oriented graphs representing lambda values using color scales.

Usage

media_lambda(results, data, grid, coord, standard_scale, save_file)

Arguments

results

A list containing MCMC results, including elements like "S", "burn", "lambda", and "media.lambda".

data

A list containing dataset information.

grid

A numeric value indicating the grid division for plotting.

coord

A dataframe containing longitude and latitude coordinates.

standard_scale

A logical value indicating whether to standardize color scales in the generated plots.

save_file

A logical value indicating whether to save the generated plots as PDF files.

Value

This function doesn't explicitly return anything. It generates spatial graphs based on lambda-related data and saves them if specified.

Examples

# Example usage:
# media_lambda(results, data, grid = 10, coord, standard_scale = TRUE, save_file = TRUE)


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