{
  "_id": "6a1d56c01d7bb097a0a47039",
  "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-06-01 09:45:46 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>",
  "MD5sum": "56b07327b41c07c8258a438a34e29ec0",
  "_user": "gvegayon",
  "_type": "src",
  "_file": "imaginarycss_0.1.0.tar.gz",
  "_fileid": "8664dcef6bebb8a50aa44ed5d493735f964b345005455d15d3fd547b8660cf98",
  "_filesize": 651556,
  "_sha256": "8664dcef6bebb8a50aa44ed5d493735f964b345005455d15d3fd547b8660cf98",
  "_created": "2026-06-01T09:45:46.000Z",
  "_published": "2026-06-01T09:54:07.989Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78826556674,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328324115"
    },
    {
      "job": 78826556695,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328318783"
    },
    {
      "job": 78826556810,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7328331447"
    },
    {
      "job": 78826556730,
      "time": 458,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7328428260"
    },
    {
      "job": 78826556820,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328329159"
    },
    {
      "job": 78826556751,
      "time": 277,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7328364194"
    },
    {
      "job": 78825907560,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328276326"
    },
    {
      "job": 78826556586,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328309798"
    },
    {
      "job": 78826556704,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7328339848"
    },
    {
      "job": 78826556657,
      "time": 136,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7328324808"
    },
    {
      "job": 78826556682,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7328316376"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Scientist at @UofUEpiBio modeling complex systems using statistical computing. Lots of time at @CDCgov."
  },
  "_downloads": {
    "count": 488,
    "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.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "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": [],
      "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": [],
      "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": [],
      "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": [],
      "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-05-02T08:53:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "04908db80ce6b121a695fa8c3d0d4cf7a96675b86ccd2fdb469bda540b1b094f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/25248224225"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-02T08:53:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "54d1301efee923398b35d3f44420bbe88e9a64983fe3291681253bf2e7ab4144",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/25248224225"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-01T09:48:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "d37e7839f0f16c72ce5d74cc1802b0f9a6373b28c9d0daee1209aa7b524d8600",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-01T09:47:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "4e3a956f5b01b884a3f57dbf156a2465d9c56cb176252bd1e9c709870ca84a83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:48:30.000Z",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "473d3acc6eb00bf7a514a743e85c545b8d72c707225e2db93e74cbe17ab647de",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:52:22.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "87154b345f0fd41bc872e25245ccdb74905f8656889b612369d7344ee42e56bd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:48:20.000Z",
      "arch": "aarch64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "20fcccb78d1c67b35caa7c0e374ac80e504c55c2c8e4304809085c0d16bd22d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-01T09:49:30.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "b099f4fbc3284b07ee0665757a1e3b4e9a38d78e2aea7d792ed17c94a317090e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-01T09:47:40.000Z",
      "arch": "emscripten",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "0fb4f279605337a6f75e9c835da723c1acddc574698a1ec475e28e6103cb18ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:47:59.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "3a168413f88799757c0e4d9117f7ba552bf5690c906449873c37995f81812e3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:47:41.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "79a0dd6065a3ea80656aeb1d837b15d96ba32cf8ffe63b3c8b76d198e149c4e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-01T09:47:18.000Z",
      "arch": "x86_64",
      "commit": "705000c8a5df412af9bd00dbd205194cb6753fb2",
      "fileid": "d29b377edbb424a06bd99613f4f0c05dc9653086be3ac4828f46de8308304525",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gvegayon/actions/runs/26747255641"
    }
  ]
}