fcminfer: inference of simulated future scenarios - fcminfer()

View source: R/FCMfunctions.R

fcminferR Documentation

inference of simulated future scenarios – fcminfer()

Description

Function to infer simulated future scenarios from a RepGrid and an Impgrid.

Usage

fcminfer(
  grid,
  imp,
  act.vec = actvector(grid),
  ideal = dim(grid)[2],
  infer = "mk",
  thr = "t",
  lambda = 1,
  iter = 30,
  e = 0.001,
  force.conv = FALSE
)

Arguments

grid

Subject's RepGrid. It must be an S4 object imported by the importgrid function.

imp

Subject's ImpGrid. It must be an S4 object imported by the importimp function.

act.vec

Activation vector created via actvector function. The default vector is the first element of the RepGrid.

ideal

Column number representing the position of the Ideal-Self in the RepGrid. By default the last column of the RepGrid is set.

infer

Propagation function for scenario inference. More information in ?propfunctions.

thr

Threshold function for scenario inference. More information in ?thrfunctions.

lambda

Lambda value of the threshold function. Only applicable in sigmoidal or hyperbolic tangent threshold function

iter

Number of iterations to infer.

Value

Return a list with two entries. The $values entry contains in rows each of the scenario vectors according to the number of iterations. And the $convergence entry contains the number of the iteration where the Fuzzy Cognitive Map is stabilised.


GICUNED/GridFCM documentation built on Feb. 23, 2023, 9:03 a.m.