Spanned and unspanned factors plot
Usage
RiskFactorsGraphs(
ModelType,
WishRFgraphs,
ModelOutputs,
Economies,
FactorLabels,
Folder2save,
verbose
)
Arguments
- ModelType
A character vector indicating the estimated model type
- WishRFgraphs
binary variable: set 1, if the user wishes graphs to be generated; or set 0, otherwise
- ModelOutputs
list of model parameter estimates (see the
Optimization
function)- Economies
A character vector containing the names of the economies included in the system.
- FactorLabels
A character vector indicating the model type to be estimated.
- Folder2save
Folder path where the outputs will be stored.
- verbose
Logical flag controlling function messaging.
Examples
data("ParaSetEx")
# Adapt factor labels according to the example
ModelType <- "JPS original"
Economy <- "Brazil"
FacLab <- LabFac(N = 1, DomVar ="Eco_Act" , GlobalVar = "Gl_Eco_Act", Economy, ModelType)
RiskFactorsGraphs(ModelType, WishRFgraphs = 1, ModelParaEx, Economy, FacLab,
Folder2save = NULL, verbose = FALSE)
#> Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
#> ℹ Please use `linewidth` instead.
#> ℹ The deprecated feature was likely used in the MultiATSM package.
#> Please report the issue at
#> <https://github.com/rubensmoura87/MultiATSM/issues>.