{
  "_id": "6a3662633efcd9bda4406349",
  "Package": "opa",
  "Type": "Package",
  "Title": "An Implementation of Ordinal Pattern Analysis",
  "Version": "0.8.2.033",
  "Authors@R": "person(\"Timothy\", \"Beechey\", email = \"tim.beechey@proton.me\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0001-8858-946X\"))",
  "Description": "Quantifies hypothesis to data fit for repeated measures\nand longitudinal data, as described by Thorngate (1987)\n<doi:10.1016/S0166-4115(08)60083-7> and Grice et al., (2015)\n<doi:10.1177/2158244015604192>. Hypothesis and data are encoded\nas pairwise relative orderings which are then compared to\ndetermine the percentage of orderings in the data that are\nmatched by the hypothesis.",
  "License": "GPL (>= 3)",
  "URL": "https://timbeechey.github.io/opa/",
  "BugReports": "https://github.com/timbeechey/opa/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "SystemRequirements": "C++17",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://timbeechey.r-universe.dev",
  "Date/Publication": "2025-06-28 05:46:21 UTC",
  "RemoteUrl": "https://github.com/timbeechey/opa",
  "RemoteRef": "HEAD",
  "RemoteSha": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-20 09:45:02 UTC",
    "User": "root"
  },
  "Author": "Timothy Beechey [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8858-946X>)",
  "Maintainer": "Timothy Beechey <tim.beechey@proton.me>",
  "MD5sum": "247827b85bacb3b70eba7d26bc175852",
  "_user": "timbeechey",
  "_type": "src",
  "_file": "opa_0.8.2.033.tar.gz",
  "_fileid": "3fb5be01cace82b44da061fc9763a303ba1b43286afcba6a0e1ac7b44d9ab01c",
  "_filesize": 866568,
  "_sha256": "3fb5be01cace82b44da061fc9763a303ba1b43286afcba6a0e1ac7b44d9ab01c",
  "_created": "2026-06-20T09:45:02.000Z",
  "_published": "2026-06-20T09:50:27.454Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82473686159,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7764240059"
    },
    {
      "job": 82473686165,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7764240343"
    },
    {
      "job": 82473686174,
      "time": 119,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764240525"
    },
    {
      "job": 82473686183,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764240785"
    },
    {
      "job": 82473686156,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7764239715"
    },
    {
      "job": 82473686157,
      "time": 276,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7764254743"
    },
    {
      "job": 82473686162,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764239361"
    },
    {
      "job": 82473686151,
      "time": 208,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764247541"
    },
    {
      "job": 82473506618,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764225792"
    },
    {
      "job": 82473686141,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764238216"
    },
    {
      "job": 82473686154,
      "time": 148,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7764243162"
    },
    {
      "job": 82473686166,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7764239904"
    },
    {
      "job": 82473686158,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7764238898"
    }
  ],
  "_buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/timbeechey/opa",
  "_commit": {
    "id": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
    "author": "timbeechey <tim.beechey@protonmail.com>",
    "committer": "timbeechey <tim.beechey@protonmail.com>",
    "message": "Updated README\n",
    "time": 1751089581
  },
  "_maintainer": {
    "name": "Timothy Beechey",
    "email": "tim.beechey@proton.me",
    "orcid": "0000-0001-8858-946X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "timbeechey",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "data-analysis",
    "hypothesis-testing",
    "longitudinal",
    "ordinal",
    "rcpp",
    "repeated-measures",
    "statistics",
    "cpp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "timbeechey",
      "count": 202,
      "uuid": 66388815
    }
  ],
  "_userbio": {
    "uuid": 66388815,
    "type": "user",
    "name": "Timothy Beechey",
    "followers": 0
  },
  "_downloads": {
    "count": 247,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/opa"
  },
  "_devurl": "https://github.com/timbeechey/opa",
  "_pkgdown": "https://timbeechey.github.io/opa/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/opa.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/timbeechey/opa",
  "_realowner": "timbeechey",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-02-24"
    },
    {
      "version": "0.2.0",
      "date": "2022-03-01"
    },
    {
      "version": "0.3.6",
      "date": "2022-04-05"
    },
    {
      "version": "0.4.1",
      "date": "2022-06-17"
    },
    {
      "version": "0.4.3",
      "date": "2022-07-11"
    },
    {
      "version": "0.5.2",
      "date": "2022-08-07"
    },
    {
      "version": "0.5.3",
      "date": "2022-09-29"
    },
    {
      "version": "0.6",
      "date": "2023-01-06"
    },
    {
      "version": "0.7.1",
      "date": "2023-02-04"
    },
    {
      "version": "0.7.3",
      "date": "2023-02-11"
    },
    {
      "version": "0.7.4",
      "date": "2023-02-18"
    },
    {
      "version": "0.8.1",
      "date": "2023-05-03"
    },
    {
      "version": "0.8.2",
      "date": "2024-02-16"
    },
    {
      "version": "0.8.3",
      "date": "2024-03-11"
    }
  ],
  "_exports": [
    "compare_conditions",
    "compare_groups",
    "compare_hypotheses",
    "correct_pairs",
    "cval_plot",
    "group_cvals",
    "group_pccs",
    "group_results",
    "hypothesis",
    "incorrect_pairs",
    "individual_cvals",
    "individual_pccs",
    "individual_results",
    "opa",
    "pcc_plot",
    "random_pccs"
  ],
  "_datasets": [
    {
      "name": "bees",
      "title": "Bee data",
      "object": "bees",
      "class": [
        "data.frame"
      ],
      "fields": [
        "bee",
        "condition",
        "t1",
        "t2",
        "t3",
        "t4",
        "t5",
        "t6",
        "t7",
        "t8",
        "t9",
        "t10",
        "t11",
        "t12"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "pituitary",
      "title": "Childhood growth data",
      "object": "pituitary",
      "class": [
        "data.frame"
      ],
      "fields": [
        "distance",
        "age",
        "individual",
        "sex"
      ],
      "rows": 108,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bees",
      "title": "Bee data",
      "topics": [
        "bees"
      ]
    },
    {
      "page": "compare_conditions",
      "title": "Calculates PCCs and c-values based on pairwise comparison of conditions.",
      "topics": [
        "compare_conditions"
      ]
    },
    {
      "page": "compare_groups",
      "title": "Calculate the c-value of the difference in PCCs produced by two groups",
      "topics": [
        "compare_groups"
      ]
    },
    {
      "page": "compare_hypotheses",
      "title": "Calculate the c-value of the difference in PCCs produced by two hypotheses",
      "topics": [
        "compare_hypotheses"
      ]
    },
    {
      "page": "correct_pairs",
      "title": "Return the number of pairs of observations matched by the hypothesis",
      "topics": [
        "correct_pairs"
      ]
    },
    {
      "page": "cval_plot",
      "title": "Plot individual chance values",
      "topics": [
        "cval_plot"
      ]
    },
    {
      "page": "group_cvals",
      "title": "Return the group chance values of the specified model",
      "topics": [
        "group_cvals"
      ]
    },
    {
      "page": "group_pccs",
      "title": "Return the group PCCs of the specified model",
      "topics": [
        "group_pccs"
      ]
    },
    {
      "page": "group_results",
      "title": "Group-level PCC and chance values.",
      "topics": [
        "group_results"
      ]
    },
    {
      "page": "hypothesis",
      "title": "Create a hypothesis object",
      "topics": [
        "hypothesis"
      ]
    },
    {
      "page": "incorrect_pairs",
      "title": "Return the number of pairs of observations not matched by the hypothesis",
      "topics": [
        "incorrect_pairs"
      ]
    },
    {
      "page": "individual_cvals",
      "title": "Return the individual chance values of the specified model",
      "topics": [
        "individual_cvals"
      ]
    },
    {
      "page": "individual_pccs",
      "title": "Return the individual PCCs of the specified model",
      "topics": [
        "individual_pccs"
      ]
    },
    {
      "page": "individual_results",
      "title": "Individual-level PCC and chance values.",
      "topics": [
        "individual_results"
      ]
    },
    {
      "page": "opa",
      "title": "Fit an ordinal pattern analysis model",
      "topics": [
        "opa"
      ]
    },
    {
      "page": "pcc_plot",
      "title": "Plot individual PCCs.",
      "topics": [
        "pcc_plot"
      ]
    },
    {
      "page": "pituitary",
      "title": "Childhood growth data",
      "topics": [
        "pituitary"
      ]
    },
    {
      "page": "plot.opafit",
      "title": "Plots individual-level PCCs and chance-values.",
      "topics": [
        "plot.opafit"
      ]
    },
    {
      "page": "plot.opaGroupComparison",
      "title": "Plot group comparison PCC replicates.",
      "topics": [
        "plot.opaGroupComparison"
      ]
    },
    {
      "page": "plot.opahypothesis",
      "title": "Plot a hypothesis.",
      "topics": [
        "plot.opahypothesis"
      ]
    },
    {
      "page": "plot.opaHypothesisComparison",
      "title": "Plot hypothesis comparison PCC replicates.",
      "topics": [
        "plot.opaHypothesisComparison"
      ]
    },
    {
      "page": "plot.oparandpccs",
      "title": "Plot PCC replicates.",
      "topics": [
        "plot.oparandpccs"
      ]
    },
    {
      "page": "print.opafit",
      "title": "Displays the call used to fit an ordinal pattern analysis model.",
      "topics": [
        "print.opafit"
      ]
    },
    {
      "page": "print.opaGroupComparison",
      "title": "Prints a summary of results from hypothesis comparison.",
      "topics": [
        "print.opaGroupComparison"
      ]
    },
    {
      "page": "print.opahypothesis",
      "title": "Print details of a hypothesis",
      "topics": [
        "print.opahypothesis"
      ]
    },
    {
      "page": "print.opaHypothesisComparison",
      "title": "Prints a summary of results from hypothesis comparison.",
      "topics": [
        "print.opaHypothesisComparison"
      ]
    },
    {
      "page": "print.pairwiseopafit",
      "title": "Displays the results of a pairwise ordinal pattern analysis.",
      "topics": [
        "print.pairwiseopafit"
      ]
    },
    {
      "page": "random_pccs",
      "title": "Return the random order generated PCCs used to calculate the group chance value",
      "topics": [
        "random_pccs"
      ]
    },
    {
      "page": "summary.opafit",
      "title": "Prints a summary of results from a fitted ordinal pattern analysis model.",
      "topics": [
        "summary.opafit"
      ]
    },
    {
      "page": "summary.opaGroupComparison",
      "title": "Prints a summary of results from hypothesis comparison.",
      "topics": [
        "summary.opaGroupComparison"
      ]
    },
    {
      "page": "summary.opaHypothesisComparison",
      "title": "Prints a summary of results from hypothesis comparison.",
      "topics": [
        "summary.opaHypothesisComparison"
      ]
    }
  ],
  "_readme": "https://github.com/timbeechey/opa/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_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": "opa.Rmd",
      "filename": "opa.html",
      "title": "opa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Modeling repeated measures data",
        "Data",
        "Wide format",
        "Specifying a hypothesis",
        "Fitting an ordinal pattern analysis model",
        "Comparing hypotheses",
        "Comparing groups",
        "Difference thresholds",
        "References"
      ],
      "created": "2023-12-14 14:28:50",
      "modified": "2024-03-09 21:52:06",
      "commits": 9
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "opa",
  "_universes": [
    "timbeechey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "5e378ff2dfd55a242a49a93ae9cd450bad9c9bf6e8ccddb4f04bfeb0cd3c00a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "f05d6cf20af9c9f9fd3c832483e1b84d3e75d1af4497f105843af4c2e9582c69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:12.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "4f05b9f4f61e6fd471f6337036fc0163055c4d949cbbe125e3fc8be304571820",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "52f2c7740c59ae9f513867809d0c47ea87de37a4ad6c70954fcc5b5833d1a146",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:10.000Z",
      "arch": "aarch64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "79de987ef19861d06f6e71ac41a4c7565c71bf9c56080ee67df6a6b2d330ff96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:49:04.000Z",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "c6b640efc8b5430c8f2ac06e62ffec1d683a4bc14a08a46471ed6d10306ed292",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:03.000Z",
      "arch": "aarch64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "0ec0487072dd452e694535c0b91eb79632410e89d24269bdc8addc5d9758a27e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:59.000Z",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "ef261086ab8b6ddc5cbdea7a1700ef2985d53777d2182a2df41513796e30520a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:03.000Z",
      "arch": "emscripten",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "99586cadb52f96fd7dec019ab676d22017044de363b8b0c127a66283e8b3eeab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:47:10.000Z",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "bac8dffc942d4257745bcf5949d12c145d6108e16a016175aad02eda847766aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:46:44.000Z",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "775ffc5f7243b47ae73175f9223dd1b4c93b0505c936953dd21228c24bcc3c77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.8.2.033",
      "date": "2026-06-20T09:46:30.000Z",
      "arch": "x86_64",
      "commit": "1881bdd6bc03e1ad07b3f375c8f728d1e62f589b",
      "fileid": "738f8c64f4db8f95a25270ab319a0e1312f178525c6fafe9b724a1e723bce47d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/timbeechey/actions/runs/27867331139"
    }
  ]
}