Package: imaginarycss 0.1.0

Sima Najafzadehkhoei

imaginarycss: Tools for Studying Imaginary Cognitive Social Structure

This package provides functions to measure and test imaginary cognitive social structure (CSS) motifs, which are patterns of perceived relationships among individuals in a social network. The package includes tools for calculating motif frequencies, comparing observed motifs to expected distributions, and visualizing motif structures. It implements the methods described in Tanaka and Vega Yon (2023) <doi:10.1016/j.socnet.2023.11.005>.

Authors:Sima Najafzadehkhoei [aut, cre], George Vega Yon [aut], Kyosuke Tanaka [aut]

imaginarycss_0.1.0.tar.gz
imaginarycss_0.1.0.zip(r-4.7)imaginarycss_0.1.0.zip(r-4.6)imaginarycss_0.1.0.zip(r-4.5)
imaginarycss_0.1.0.tgz(r-4.6-x86_64)imaginarycss_0.1.0.tgz(r-4.6-arm64)imaginarycss_0.1.0.tgz(r-4.5-x86_64)imaginarycss_0.1.0.tgz(r-4.5-arm64)
imaginarycss_0.1.0.tar.gz(r-4.7-arm64)imaginarycss_0.1.0.tar.gz(r-4.6-arm64)imaginarycss_0.1.0.tar.gz(r-4.7-x86_64)imaginarycss_0.1.0.tar.gz(r-4.6-x86_64)
imaginarycss_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
imaginarycss/json (API)
NEWS

# Install 'imaginarycss' in R:
install.packages('imaginarycss', repos = c('https://gvegayon.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gvegayon/imaginary-structures/issues

Pkgdown/docs site:https://gvegayon.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cognitive-social-structurescsssnasocial-network-analysisquartocpp

3.78 score 1 stars 15 scripts 488 downloads 9 exports 2 dependencies

Last updated from:705000c8a5. Checks:8 OK, 3 WARNING. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK240
linux-release-x86_64OK118
macos-release-arm64OK170
macos-release-x86_64WARNING277
macos-oldrel-arm64WARNING191
macos-oldrel-x86_64WARNING458
windows-develOK179
windows-releaseOK111
windows-oldrelOK136
wasm-releaseOK93

Exports:barray_to_edgelistcount_imaginary_censuscount_recip_errorsnetsizenew_barry_graphnnetssample_css_networktest_imaginary_censustie_level_accuracy

Dependencies:barryRcpp

Analyzing Perceptual Errors and Individual Accuracy

Rendered fromerrors-and-individual-accuracy.qmdusingquarto::htmlon Jun 01 2026.

Last update: 2026-02-24
Started: 2025-12-13

Introduction to imaginarycss

Rendered fromintro-basics.qmdusingquarto::htmlon Jun 01 2026.

Last update: 2026-02-24
Started: 2025-12-13

Network Perception Analysis

Rendered fromAdvanced-analysis.qmdusingquarto::htmlon Jun 01 2026.

Last update: 2026-02-24
Started: 2025-12-13

Real-world example of imaginarycss

Rendered fromreal-world-example.qmdusingquarto::htmlon Jun 01 2026.

Last update: 2026-02-24
Started: 2025-12-13

Readme and manuals

Help Manual

Help pageTopics
Retrieves the edgelist of a barry_graphbarray_to_edgelist
Computes census of imaginary errorscount_imaginary_census
Add a counter for reciprocity errorscount_recip_errors
Krackhardt High-Tech Managers Advice Networkkrackhardt_advice
Krackhardt Advice Network Perception Errorskrackhardt_advice_perceptions
Krackhardt High-Tech Managers Attributeskrackhardt_attributes
Krackhardt High-Tech Managers Friendship Networkkrackhardt_friendship
Krackhardt Friendship Network Perception Errorskrackhardt_friendship_perceptions
Krackhardt High-Tech Managers Reporting Networkkrackhardt_reports
Binary Array Graphbarry_graph netsize new_barry_graph new_barry_graph.list new_barry_graph.matrix nnets
Print Barry Graphprint.barry_graph
Summarize an imaginary censussummary.imaginary_census
Test imaginary census motifs against a null modelplot.imaginarycss_test print.imaginarycss_test summary.imaginarycss_test test_imaginary_census
Null distribution for Cognitive Imaginary Structuressample_css_network tie_level_accuracy