ConceptTest: Compare value of concepts indicators between maps

Description Usage Arguments Details Value Examples

View source: R/cogmapr-comp.R

Description

This function test the differences between the properties of concepts

Usage

1
ConceptTest(project, units, output = "p.value", sep = ">", coder = "qcoder")

Arguments

project

A QDA project, a list as generated by the ProjectCMap function.

units

The units to compare

output

"p.value" (default) or "raw.data".

sep

Separation used in the relationships definition. Default is ">" (ex : 1>3)

coder

Coding tool used for this project. Default is "qcoder" (only implemented now)

Details

This function test the differences between the properties of concepts (indegree, outdegree, centrality) between groups of documents (i.e. between social cognitive maps). Till now, only two excluding groups can be tested (ex. document from one country vs another country, from a group of players vs another group of players). It is not possible to compare non exclusive groups (ex. map from one country vs map from one group of players, as some documents can be in the two groups!). For this test, the 'wilcoxon.test' is done. If output = 'p.value', the function returns the results of the tests, one test for each concepts of the map. If output = 'raw.data', the function returns the raw data on which the tests are done, one data frame by concept. This option can be used to export data and perform other statistical tests.

Value

A data frame (if output = "p.value"), a list of data frame (if output = "raw.data").

Examples

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)

## need more documents
ConceptTest(my.project, units = c("Belgium", "Québec"))

cogmapr documentation built on Jan. 4, 2022, 5:06 p.m.