Description Usage Arguments Details Value Examples
Plotting the a social cognitive map using ggplot2
1 2 3 4 5 6 7 8 |
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 labels of the weight of edges |
size.arrows |
Size of arrows (head) |
alpha.arrows |
The transparency of arrows. |
Plotting the a social cognitive map using ggplot2
A ggplot of a social cognitive map
1 2 3 4 5 6 | 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(df.scm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.