df.quotes.scm.edge: Extract the quotes of a project linked to selected...

Description Usage Arguments Details Value Examples

Description

Extract the quotes of a project linked to selected relationships

Usage

1
df.quotes.scm.edge(project, units, selected.edge)

Arguments

project

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

units

A string vector giving the names of the units (i.e. classes linked to documents) that will be include in the SCM. It is a second type of filter.

selected.edge

A vector of character value(s), the names of one or many relationship(s) of the map

Details

Extract the quotes of a project linked to selected relationships. Units is a mandatory parameter as this function was initially developed for given the quotes linked to significantly different relationships between groups of documents (i.e. units).

Value

A data frame of relationships and quotes

Examples

1
2
3
4
5
project_name <- "a_new_project"
main_path <- paste0(system.file("testdata", package = "cogmapr"), '/')
my.project <- ProjectCMap(main_path, project_name)

df.quotes.scm.edge(my.project, "Belgium", "1~2")

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