Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The wordevok package

This repository contains the wordevok R package, which transforms evocation data from the Free Association of Words survey instrument into relational data for cognitive affinity networks. Two different types of networks are allowed:

  • Network of meanings \rightarrow vertices are words and edges are based on a formula to link words by order of importance and distance, as described in Guedes et al. (2018).
  • Network of individuals \rightarrow vertices are individuals and edges are based on a formula to link individuals based on their word vectors, described in Guedes et al. (2018). Two individuals are more cognitive alike the more they share words of same order of importance and distance.

The wordevok package contains the following functions:

  • affinity: Measures the degree of cognitive affinity between two individuals.
  • as.wordevok: Creates an wordevok object.
  • meaning_weighted: Calculates the weights attributed to edges in a network of persons linked by cognitive affinity.
  • removing_loops_wordevok: Removes loops of a wordevok object.
  • split_list_wordevok: Creates subsets of a list according to an object (such as a matrix, data.frame or list) identifying the groups.
  • telp_wordevok: Stores the frequency and average order of importance for each evocation.
  • telp_wordevok_plot: Plots the classical Vergés quadrants.
  • telp_wordevok_quad: Split evocations based on in which Vergés quadrant is assigned according to the selected method (mode, median or mean).
  • wordevok_adjacency_to_list: Transforms an adjacency matrix into an edge list.
  • wordevok_affinity_adjacency: Creates a valued adjacency matrix using the affinity coefficient.
  • wordevok_binary_adjacency: Creates a non-valued (binary) adjacency matrix, where links are defined if the affinity coefficient is not null.
  • wordevok_comm_submatrix: Extracts the adjacency submatrices from the overall adjacency matrix. The extraction is based on an object that identifies groups (or communities).
  • wordevok_comm_subsets: Extracts a list containing the evocations of each groug (or community) of the wordevok object.
  • wordevok_intersection_adjacency: Creates an adjacency matrix by intersection.
  • wordevok_laplacian_adjacency: Creates an adjacency matrix by the Laplacian method.
  • wordevok_meaning_adjacency: Creates an adjacency matrix by the weighted meaning method.
  • wordevok_meaning_list: Creates an edge list by weighted meaning method.
  • wordevok_quad_class: Estimates the relevant coordinates (average evocation order and frequency) for each Vergés quadrant of a given group (or community).
  • wordevok_radar_attr: Estimates the relevant coordinates (average evocation order and frequency) for each Vergés quadrant of multiple groups (or communities).
  • wordevok_radar_gg: Adjusts the coordinates to be ready to use in radar plots using the ggplot2 R> package.
  • wordevok_radar_plot: Generates radar plots of the collective thinking (social representation) of a group (or community) using the ggplot2 R> package. It works with either the network of meanings or the network of cognitive affinity. It also accepts multigroup (communities) plotting.

How to cite

Please, when you use the package give the appropriate credit to the package repository at GitHub and the journal article that provides the methodology and formulas.

  • Traditional format:

    • For the wordevok R package:

      Pereira, W., Guedes, G., & Duarte, D. (2020). The wordevok R package for cognitive affinity networks. Github respository. Available at: https://github.com/epopea/wordevok.

    • For the formulas and methodology that supports the cognitive affinity network approach:

      Guedes, G. R., Coutinho, R. Z., Marteleto, L., Pereira, W. H. S., & Duarte, D. (2018). Signifying Zika: heterogeneity in the representations of the virus by history of infection. Cadernos de saude publica, 34, e00003217.

  • Bibtex format:

    • For the wordevok R package:

      @misc{pereira_guedes_duarte_2020,
      author = {Pereira, Wesley and Guedes, Gilvan Ramalho and Duarte, Denise},
      title = {The wordevok R package for cognitive affinity networks},
      year = {2020},
      publisher = {GitHub},
      journal = {GitHub repository},
      howpublished = {\url{https://github.com/epopea/wordevok}},
      commit = {38d4d72}
      }

    • For the formulas and methodology that supports the cognitive affinity network approach:

      @article{guedes2018signifying,
      title={Signifying Zika: heterogeneity in the representations of the virus by history of infection},
      author={Guedes, Gilvan Ramalho and Coutinho, Raquel Zanatta and Marteleto, Leticia and Pereira, Wesley Henrique Silva and Duarte, Denise},
      journal={Cadernos de saude publica},
      volume={34},
      pages={e00003217},
      year={2018},
      publisher={SciELO Public Health}
      }

  • Funding: The wordevok package was made possible by the financial support provided by FAPEMIG through the Grant APQ-01553-16. [PT] O desenvolvimento do pacote wordevok foi possível em função do suporte financeiro provido pela FAPEMIG (Processo APQ-01553-16).

About

It contains the wordevok package to transform evocation data from the Free Association of Words survey instrument into relational data for cognitive affinity networks.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages