ggCMap.bg {cogmapr}R Documentation

Ghost cognitive map

Description

ggplot background of a map (used in highlighted maps)

Usage

ggCMap.bg(data, size.concepts = 4, size.labels = 4, size.edges = 4,
  size.arrows = 4, map.color = "grey50")

Arguments

data

A list, the output of the 'data.ggCMap' function, containing all useful vertex and edge information for the cognitive maps.

size.concepts

Size of the dot linked to vertices

size.labels

Size of the labels of vertices

size.edges

Size of the lables of the weight of edges

size.arrows

Size of arrows (head)

map.color

The unique color of all concepts and labels of the ghost map

Details

ggplot background of a map (used in highlighted maps). It is like a ghost map.

Value

A plot

Examples

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

df.scm <- data.ggCMap(my.project, edge.filter = "4")
ggCMap.bg(df.scm)

[Package cogmapr version 0.9.1 Index]