fcmdigraph: Fuzzy Cognitive Map Digraph - fcmdigraph()

View source: R/FCMfunctions.R

fcmdigraphR Documentation

Fuzzy Cognitive Map Digraph – fcmdigraph()

Description

This function draws a digraph of the Fuzzy Cognitive Map of an individual's construct system using a Repgrid and Impgrid.

Usage

fcmdigraph(
  grid,
  imp,
  results = fcminfer(grid, imp)$values,
  ideal = dim(grid)[2],
  niter = 1,
  layout = "graphopt",
  edge.width = 1.5,
  vertex.size = 1,
  legend = 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.

results

Iteration matrix calculated with fcminfer. By default they are calculated with the Self-Now

ideal

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

niter

Scenario vector to be represented in the digraph expressed by the row number in the iteration matrix. The default is the first row.

layout

Layout to represent the FCM digraph. More information about layouts in ?digraphlayouts.

edge.width

Edge width scalar.

vertex.size

Vertex size scalar.

legend

Draws a legend if TRUE.

Value

Returns a graphical representation of a digraph of a FCM


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