Description Usage Arguments Value Examples
Plotting a Social Cognitive Map
1 | plotSocCMap(soc.cmap, layoutType = "neato", ..., main = "Social map")
|
soc.cmap |
An object of class SocCMap, as an output of the SocCMap function |
layoutType |
Type of graph. See detail in RGraphViz. Can be 'neato', 'dot', 'twopi', 'circo', and 'fdp'. The default is 'neato'. |
... |
other graphical parameters |
main |
The title of the map. By default it is "Individual map - Agent's name" |
A plot
1 2 3 4 5 6 7 8 9 | project_name <- "a_new_project"
main_path <- paste0(system.file("testdata", package = "cogmapr"), '/')
my.project <- ProjectCMap(main_path, project_name)
edg.scm <- EdgSocCMap(my.project, min.weight=6, weighted.icm=TRUE)
scm <- SocCMap(edg.scm, my.project)
plotSocCMap(scm)
scm <- SocCMap(edg.scm, my.project, label = "name", shape = "plaintext")
plotSocCMap(scm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.