{
  "_id": "6a491daab5e98c4082a09a9a",
  "Package": "imaginarycss",
  "Version": "0.1.0",
  "Title": "Tools for Studying Imaginary Cognitive Social Structure",
  "Description": "This package provides functions to measure and test\nimaginary cognitive social structure (CSS) motifs, which are\npatterns of perceived relationships among individuals in a\nsocial network. The package includes tools for calculating\nmotif frequencies, comparing observed motifs to expected\ndistributions, and visualizing motif structures. It implements\nthe methods described in Tanaka and Vega Yon (2023)\n<DOI:10.1016/j.socnet.2023.11.005>.",
  "URL": "https://gvegayon.github.io/imaginary-structures",
  "BugReports": "https://github.com/gvegayon/imaginary-structures/issues",
  "Authors@R": "c(\nperson(\n\"Sima\", \"Najafzadehkhoei\", role=c(\"aut\",\"cre\"), email=\"sima.njf@utah.edu\",\ncomment = c(ORCID = \"0009-0002-6253-2910\")\n),\nperson(\n\"George\", \"Vega Yon\", role=c(\"aut\"), email=\"g.vegayon@gmail.com\",\ncomment = c(ORCID = \"0000-0002-3171-0844\")\n),\nperson(\n\"Kyosuke\", \"Tanaka\", role=c(\"aut\"), email=\"kyokke.tanaka@gmail.com\",\ncomment = c(ORCID = \"0000-0002-1850-6814\")\n))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "quarto",
  "Repository": "https://gvegayon.r-universe.dev",
  "Date/Publication": "2026-02-25 00:24:00 UTC",
  "RemoteUrl": "https://github.com/gvegayon/imaginarycss",
  "RemoteRef": "HEAD",
  "RemoteSha": "705000c8a5df412af9bd00dbd205194cb6753fb2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-04 14:45:15 UTC",
    "User": "root"
  },
  "Author": "Sima Najafzadehkhoei [aut, cre] (ORCID:\n<https://orcid.org/0009-0002-6253-2910>),\nGeorge Vega Yon [aut] (ORCID: <https://orcid.org/0000-0002-3171-0844>),\nKyosuke Tanaka [aut] (ORCID: <https://orcid.org/0000-0002-1850-6814>)",
  "Maintainer": "Sima Najafzadehkhoei <sima.njf@utah.edu>",
  "_user": "gvegayon",
  "_type": "src",
  "_file": "imaginarycss_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/da2e856393a4b1d5563fc7f72d6375a43fb61a0661e26cd077f53c43314f9155",
  "_filesize": 651273,
  "_sha256": "da2e856393a4b1d5563fc7f72d6375a43fb61a0661e26cd077f53c43314f9155",
  "_expires": "2026-10-12T14:50:17.000Z",
  "_created": "2026-07-04T14:45:15.000Z",
  "_published": "2026-07-04T14:50:18.571Z",
  "_jobs": [
    {
      "job": 85141123118,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8082675631"
    },
    {
      "job": 85141123117,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8082678997"
    },
    {
      "job": 85141123120,
      "time": 165,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082678057"
    },
    {
      "job": 85141123113,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082674951"
    },
    {
      "job": 85141123090,
      "time": 228,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8082682437"
    },
    {
      "job": 85141123085,
      "time": 261,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8082686442"
    },
    {
      "job": 85141123079,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082675111"
    },
    {
      "job": 85141123081,
      "time": 216,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8082682208"
    },
    {
      "job": 85140908809,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082656737"
    },
    {
      "job": 85141123065,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8082675715"
    },
    {
      "job": 85141123077,
      "time": 122,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8082672548"
    },
    {
      "job": 85141123086,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8082675534"
    },
    {
      "job": 85141123098,
      "time": 132,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8082673929"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791",
  "_status": "success",
  "_upstream": "https://github.com/gvegayon/imaginarycss",
  "_commit": {
    "id": "705000c8a5df412af9bd00dbd205194cb6753fb2",
    "author": "Copilot <198982749+Copilot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Document return values for all exported functions; add devtools/pkgdown to Copilot env (#7)\n\n* Initial plan\n\n* Add @return tags for all exported functions and update Copilot workflow deps\n\nCo-authored-by: gvegayon <893619+gvegayon@users.noreply.github.com>\n\n* Addressing comments from copilot\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>\nCo-authored-by: gvegayon <893619+gvegayon@users.noreply.github.com>\nCo-authored-by: George G. Vega Yon <g.vegayon@gmail.com>",
    "time": 1771979040
  },
  "_maintainer": {
    "name": "Sima Najafzadehkhoei",
    "email": "sima.njf@utah.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "barry",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    }
  ],
  "_owner": "gvegayon",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "cognitive-social-structures",
    "css",
    "sna",
    "social-network-analysis",
    "quarto",
    "cpp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "copilot",
      "count": 3,
      "uuid": 198982749
    },
    {
      "user": "gvegayon",
      "count": 2,
      "uuid": 893619
    }
  ],
  "_userbio": {
    "uuid": 893619,
    "type": "user",
    "name": "George G. Vega Yon",
    "followers": 262,
    "description": "Scientist at @UofUEpiBio modeling complex systems using statistical computing. Lots of time at @CDCgov."
  },
  "_downloads": {
    "count": 459,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/imaginarycss"
  },
  "_devurl": "https://github.com/gvegayon/imaginary-structures",
  "_pkgdown": "https://gvegayon.github.io/imaginary-structures",
  "_searchresults": 15,
  "_quarto": true,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/imaginarycss.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gvegayon/imaginary-structures",
  "_realowner": "gvegayon",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-04"
    }
  ],
  "_exports": [
    "barray_to_edgelist",
    "count_imaginary_census",
    "count_recip_errors",
    "netsize",
    "new_barry_graph",
    "nnets",
    "sample_css_network",
    "test_imaginary_census",
    "tie_level_accuracy"
  ],
  "_datasets": [
    {
      "name": "krackhardt_advice",
      "title": "Krackhardt High-Tech Managers Advice Network",
      "object": "krackhardt_advice",
      "class": [
        "data.frame"
      ],
      "fields": [
        "from",
        "to",
        "value"
      ],
      "rows": 441,
      "table": true,
      "tojson": true
    },
    {
      "name": "krackhardt_advice_perceptions",
      "title": "Krackhardt Advice Network Perception Errors",
      "object": "krackhardt_advice_perceptions",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "krackhardt_attributes",
      "title": "Krackhardt High-Tech Managers Attributes",
      "object": "krackhardt_attributes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "AGE",
        "TENURE",
        "LEVEL",
        "DEPT"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "krackhardt_friendship",
      "title": "Krackhardt High-Tech Managers Friendship Network",
      "object": "krackhardt_friendship",
      "class": [
        "data.frame"
      ],
      "fields": [
        "from",
        "to",
        "value"
      ],
      "rows": 441,
      "table": true,
      "tojson": true
    },
    {
      "name": "krackhardt_friendship_perceptions",
      "title": "Krackhardt Friendship Network Perception Errors",
      "object": "krackhardt_friendship_perceptions",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "krackhardt_reports",
      "title": "Krackhardt High-Tech Managers Reporting Network",
      "object": "krackhardt_reports",
      "class": [
        "data.frame"
      ],
      "fields": [
        "from",
        "to",
        "value"
      ],
      "rows": 441,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "barray_to_edgelist",
      "title": "Retrieves the edgelist of a barry_graph",
      "topics": [
        "barray_to_edgelist"
      ]
    },
    {
      "page": "count_imaginary_census",
      "title": "Computes census of imaginary errors",
      "topics": [
        "count_imaginary_census"
      ]
    },
    {
      "page": "count_recip_errors",
      "title": "Add a counter for reciprocity errors",
      "topics": [
        "count_recip_errors"
      ]
    },
    {
      "page": "krackhardt_advice",
      "title": "Krackhardt High-Tech Managers Advice Network",
      "topics": [
        "krackhardt_advice"
      ]
    },
    {
      "page": "krackhardt_advice_perceptions",
      "title": "Krackhardt Advice Network Perception Errors",
      "topics": [
        "krackhardt_advice_perceptions"
      ]
    },
    {
      "page": "krackhardt_attributes",
      "title": "Krackhardt High-Tech Managers Attributes",
      "topics": [
        "krackhardt_attributes"
      ]
    },
    {
      "page": "krackhardt_friendship",
      "title": "Krackhardt High-Tech Managers Friendship Network",
      "topics": [
        "krackhardt_friendship"
      ]
    },
    {
      "page": "krackhardt_friendship_perceptions",
      "title": "Krackhardt Friendship Network Perception Errors",
      "topics": [
        "krackhardt_friendship_perceptions"
      ]
    },
    {
      "page": "krackhardt_reports",
      "title": "Krackhardt High-Tech Managers Reporting Network",
      "topics": [
        "krackhardt_reports"
      ]
    },
    {
      "page": "new_barry_graph",
      "title": "Binary Array Graph",
      "topics": [
        "barry_graph",
        "netsize",
        "new_barry_graph",
        "new_barry_graph.list",
        "new_barry_graph.matrix",
        "nnets"
      ]
    },
    {
      "page": "print.barry_graph",
      "title": "Print Barry Graph",
      "topics": [
        "print.barry_graph"
      ]
    },
    {
      "page": "summary.imaginary_census",
      "title": "Summarize an imaginary census",
      "topics": [
        "summary.imaginary_census"
      ]
    },
    {
      "page": "test_imaginary_census",
      "title": "Test imaginary census motifs against a null model",
      "topics": [
        "plot.imaginarycss_test",
        "print.imaginarycss_test",
        "summary.imaginarycss_test",
        "test_imaginary_census"
      ]
    },
    {
      "page": "tie_level_accuracy",
      "title": "Null distribution for Cognitive Imaginary Structures",
      "topics": [
        "sample_css_network",
        "tie_level_accuracy"
      ]
    }
  ],
  "_readme": "https://github.com/gvegayon/imaginarycss/raw/HEAD/README.md",
  "_rundeps": [
    "barry",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "errors-and-individual-accuracy.qmd",
      "filename": "errors-and-individual-accuracy.html",
      "title": "Analyzing Perceptual Errors and Individual Accuracy",
      "engine": "quarto::html",
      "headings": [
        "Perceptual Error Analysis",
        "Setup: A Small Example Network",
        "Reciprocity Errors",
        "Imaginary Census",
        "Individual Accuracy",
        "Null Model Testing",
        "Key Takeaways"
      ],
      "created": "2025-12-13 07:39:47",
      "modified": "2026-02-24 19:00:38",
      "commits": 2
    },
    {
      "source": "intro-basics.qmd",
      "filename": "intro-basics.html",
      "title": "Introduction to imaginarycss",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "What Are Cognitive Social Structures?",
        "Key Features",
        "Creating Barry Graph Objects",
        "From a List of Matrices",
        "From a Block-Diagonal Matrix",
        "Inspecting Graph Attributes"
      ],
      "created": "2025-12-13 07:39:47",
      "modified": "2026-02-24 19:00:38",
      "commits": 2
    },
    {
      "source": "Advanced-analysis.qmd",
      "filename": "Advanced-analysis.html",
      "title": "Network Perception Analysis",
      "engine": "quarto::html",
      "headings": [
        "Imaginary Network Motifs: Testing Systematic Perception Errors",
        "Setup",
        "Data Overview",
        "Creating the CSS Graphs",
        "Observed Motif Counts",
        "Null-Model Testing",
        "Results",
        "Full Summary",
        "Tie-Level Accuracy",
        "Conclusion"
      ],
      "created": "2025-12-13 07:39:47",
      "modified": "2026-02-24 23:42:28",
      "commits": 3
    },
    {
      "source": "real-world-example.qmd",
      "filename": "real-world-example.html",
      "title": "Real-world example of imaginarycss",
      "engine": "quarto::html",
      "headings": [
        "Krackhardt Advice Network",
        "Data and Perceptions",
        "Individual Accuracy",
        "Perceptual Structure",
        "Organizational Takeaways"
      ],
      "created": "2025-12-13 07:39:47",
      "modified": "2026-02-24 23:42:28",
      "commits": 3
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "imaginarycss",
  "_universes": [
    "gvegayon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T14:47:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/b1762d8cbea077a2d52c1b76ac9a882061dbd04a755eb64321561fd025f85ad4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/7f87ade278df865cfdeee4ee3d27aeed5cd9d7b6201ed1c2100b6eeb58832807",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/31e9ababfe706dbc4ef864c63827a9bc62b5b7d55ad07380636d1f2b6dd2683b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T14:47:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/8201204b96b2653089f4b2b147e395be3c964bdc3084d45ecaa3c9d7b40e1c2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:32.000Z",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/95a7b55b6709a527fba4adfd03bafdf4aaef43ad8e069ae9b1dc79aeb7d36897",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:56.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/92b4960a4acb3f42f9bbce27c00b214af94538f85aa29c748d701fb6f696ebc8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T14:47:41.000Z",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/055624c9315d35b3f344f9bd0392577a031899cd3f00585846801b2650a62581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:15.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/c735c4ca6a089087ddadab08b7d5580393197eabd57cf1c86a48012f12d41f5d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-04T14:48:00.000Z",
      "arch": "emscripten",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/0e293058e9a14ed5fefa03cec9ad55bbdab5b1792fe63e15d3bf75b9e5bd00da",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T14:46:49.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/ab97a5ccc21ff2b09807a9b78481edb8814048a7357cccff57d75d088b990493",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T14:47:15.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/00816b984ae4ec56c028ce7268194646e8e763471f5e3c604af6e737a4421550",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T14:47:01.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "https://r2.ropensci.org/b6d440a02cfdd24468d4a885e6df6a801b771d76722f50f51d0ddba32c97d937",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/28709621791"
    }
  ]
}