Skip to contents

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.

Available Methods

- `autoplot(object, type = "RiskFactors")`

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>.