Indegree of vertices by document
ConceptIndegreeIndiv(project, min.weight = 1, weighted.icm = FALSE)
project | A QDA project, a list as generated by the ProjectCMap function. |
---|---|
min.weight | A integer that will determine the minimum (>=) weight of relationships that will be taken into account. Relationships with a lower weight (<) will not be shown. Default is set to 1 (i.e. all relationships are shown). |
weighted.icm | A boolean. If FALSE, the weight of the relationships in the ICM will be fixed to 1. |
A data frame of Indegree by document (ICM)
Indegree of vertices by document
project_name <- "a_new_project"
main_path <- paste0(system.file("testdata", package = "cogmapr"), '/')
my.project <- ProjectCMap(main_path, project_name)
ConceptIndegreeIndiv(my.project)
#> doc_id name num indegree
#> 1 1 Concept B 2 2
#> 2 1 Concept C 3 1
#> 3 2 Concept B 2 1
#> 4 2 Concept C 3 1
#> 5 2 Concept D 4 1
#> 6 3 Concept B 2 1
#> 7 3 Concept C 3 1
#> 8 3 Concept D 4 1
#> 9 4 Concept B 2 1
#> 10 4 Concept D 4 2