plotIndCMap {cogmapr}R Documentation

Plotting an Individual Cognitive Map

Description

Plotting an Individual Cognitive Map

Usage

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

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)

[Package cogmapr version 0.9.1 Index]