The goal of cmpackage is to help you conduct the main analyses and calculations for cognitive mapping research (as explained in Van Esch and Snellens, online first). In addition it helps you create an interactive visualisation (semantic network graph) of your cognitive maps.
You can install the development version of cmpackage like so:
devtools::install_github("Fesch-star/cmpackage")
R version 4.0.2
[How does the user access your project? (E.g. download, or clone with git clone…)]
[How does the user call the main script(s) that should be executed?]
This project is licensed under the terms of the GPL-3.0 License
Femke van Esch: F.a.w.j.vanEsch@uu.nl
Femke A.W.J. Van Esch & Jeroen F.A. Snellens (online first). How to ‘Measure’ Ideas. Introducing the Method of Cognitive Mapping to the Domain of Ideational Policy Studies, Journal of European Public Policy. https://doi.org/10.1080/13501763.2022.2155215.
This is a basic example which shows you how to solve a common problem:
library(cmpackage)
## basic example code
node_calc <- calc_degrees_goW(rutte_p2_edgelist, rutte_p2_nodelist)
node_calc[1:10, c(2, 12)]