IndCMap: Individual Cognitive Mapping

Description Usage Arguments Value Examples

View source: R/cogmapr.R

Description

Formatting the data for plotting an Individual Cognitive Map

Usage

1
IndCMap(project, doc.id)

Arguments

project

A QDA project, a list as generated by the ProjectCMap function.

doc.id

The id of a document

Value

a 'IndCMap' object, a list containing various information that could be use for plotting an Individual Cognitive Map. The most important elements are :

"vertex"

A list of information on Cognitive Map's variables (i.e. vertices or concepts)

"edg"

A list of information about relationships

"graph"

A graphNEL object

"eAttrs"

A list of graphical attributes of edges

"nAttrs"

A list of graphical attributes of nodes (vertices)

"gAttrs"

A list of graphical attributes of the whole graph

Examples

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

IndCMap(my.project, 1)

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