plotIndCMap: Plotting an Individual Cognitive Map

Description Usage Arguments Value Examples

View source: R/cogmapr.R

Description

Plotting an Individual Cognitive Map

Usage

1
2
3
4
5
6
plotIndCMap(
  ind.cmap,
  layoutType = "neato",
  main = paste("Individual map -", ind.cmap[["agent"]][["name"]]),
  ...
)

Arguments

ind.cmap

An object of class IndCMap, as an output of the IndCMap function

layoutType

Type of graph. See detail in RGraphViz. Can be 'neato', 'dot', 'twopi', 'circo', and 'fdp'. The default is 'neato'.

main

The title of the map. By default it is "Individual map - Agent's name"

...

other graphical parameters

Value

A plot

Examples

1
2
3
4
5
6
7
project_name <- "a_new_project"
main_path <- paste0(system.file("testdata", package = "cogmapr"), '/')
my.project <- ProjectCMap(main_path, project_name)

icm <- IndCMap(my.project, 1)

plotIndCMap(icm)

cogmapr documentation built on Jan. 4, 2022, 5:06 p.m.