{
  "_id": "6ac0bee591601a2ad299833f",
  "Package": "hypr",
  "Type": "Package",
  "Title": "Hypothesis Matrix Translation",
  "URL": "https://maxrabe.com/hypr",
  "BugReports": "https://github.com/mmrabe/hypr/issues",
  "Version": "0.2.8",
  "Authors@R": "c(\nperson(given = \"Maximilian M.\", family = \"Rabe\", email = \"maximilian.rabe@uni-potsdam.de\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0002-2556-5644\")),\nperson(given = \"Shravan\", family = \"Vasishth\", role = c(\"aut\"), comment = c(ORCID = \"0000-0003-2027-1994\")),\nperson(given = \"Sven\", family = \"Hohenstein\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-9708-1593\")),\nperson(given = \"Reinhold\", family = \"Kliegl\", email = \"kliegl@uni-potsdam.de\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-0180-8488\")),\nperson(given = \"Daniel J.\", family = \"Schad\", email = \"schad@uni-potsdam.de\", role = c(\"aut\"), comment = c(ORCID = \"0000-0003-2586-6823\")))",
  "Description": "Translation between experimental null hypotheses,\nhypothesis matrices, and contrast matrices as used in linear\nregression models. The package is based on the method described\nin Schad et al. (2019) <doi:10.1016/j.jml.2019.104038> and Rabe\net al. (2020) <doi:10.21105/joss.02134>.",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Collate": "'equations.R' 'hypr.R'",
  "Repository": "https://mmrabe.r-universe.dev",
  "Date/Publication": "2023-11-09 10:34:38 UTC",
  "RemoteUrl": "https://github.com/mmrabe/hypr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5573df5a5108f21c5356b9f4b0953af097c40de2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 08:32:43 UTC",
    "User": "root"
  },
  "Author": "Maximilian M. Rabe [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2556-5644>),\nShravan Vasishth [aut] (ORCID: <https://orcid.org/0000-0003-2027-1994>),\nSven Hohenstein [aut] (ORCID: <https://orcid.org/0000-0002-9708-1593>),\nReinhold Kliegl [aut] (ORCID: <https://orcid.org/0000-0002-0180-8488>),\nDaniel J. Schad [aut] (ORCID: <https://orcid.org/0000-0003-2586-6823>)",
  "Maintainer": "Maximilian M. Rabe <maximilian.rabe@uni-potsdam.de>",
  "_user": "mmrabe",
  "_type": "src",
  "_file": "hypr_0.2.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/33aa378bb0b7aa9c4c43e71a9079ac20615068274f52d318d63560ed2f85d19e",
  "_filesize": 165928,
  "_sha256": "33aa378bb0b7aa9c4c43e71a9079ac20615068274f52d318d63560ed2f85d19e",
  "_expires": "2027-01-11T08:37:55.000Z",
  "_created": "2026-10-03T08:32:43.000Z",
  "_published": "2026-10-03T08:37:57.218Z",
  "_jobs": [
    {
      "job": 111166120568,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11269980594"
    },
    {
      "job": 111166120613,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270035609"
    },
    {
      "job": 111166120576,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11269397193"
    },
    {
      "job": 111166120616,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269746303"
    },
    {
      "job": 111165717120,
      "time": 146,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270060198"
    },
    {
      "job": 111166120605,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11269511482"
    },
    {
      "job": 111166120545,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11269596240"
    },
    {
      "job": 111166120597,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11269815844"
    },
    {
      "job": 111166120571,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270025376"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069",
  "_status": "success",
  "_upstream": "https://github.com/mmrabe/hypr",
  "_commit": {
    "id": "5573df5a5108f21c5356b9f4b0953af097c40de2",
    "author": "Maximilian Rabe <maximilian.rabe@uni-potsdam.de>",
    "committer": "Maximilian Rabe <maximilian.rabe@uni-potsdam.de>",
    "message": "Increase version number\n",
    "time": 1699526078
  },
  "_maintainer": {
    "name": "Maximilian M. Rabe",
    "email": "maximilian.rabe@uni-potsdam.de",
    "login": "mmrabe",
    "twitter": "@MaxMRabe",
    "description": "Postdoc at the University of Copenhagen and at the University of Potsdam.",
    "uuid": 13450250,
    "orcid": "0000-0002-2556-5644"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mmrabe",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 17,
  "_contributors": [
    {
      "user": "mmrabe",
      "count": 157,
      "uuid": 13450250
    }
  ],
  "_userbio": {
    "uuid": 13450250,
    "type": "user",
    "name": "Maximilian M. Rabe",
    "followers": 23,
    "description": "Postdoc at the University of Copenhagen and at the University of Potsdam."
  },
  "_downloads": {
    "count": 463,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hypr"
  },
  "_devurl": "https://github.com/mmrabe/hypr",
  "_searchresults": 101,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hypr.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/mmrabe/hypr",
  "_realowner": "mmrabe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2019-10-09"
    },
    {
      "version": "0.1.3",
      "date": "2019-10-18"
    },
    {
      "version": "0.1.4",
      "date": "2019-11-20"
    },
    {
      "version": "0.1.5",
      "date": "2019-12-04"
    },
    {
      "version": "0.1.6",
      "date": "2020-02-28"
    },
    {
      "version": "0.1.7",
      "date": "2020-04-27"
    },
    {
      "version": "0.1.8",
      "date": "2020-05-27"
    },
    {
      "version": "0.1.9",
      "date": "2020-07-29"
    },
    {
      "version": "0.1.10",
      "date": "2020-09-08"
    },
    {
      "version": "0.1.11",
      "date": "2020-09-28"
    },
    {
      "version": "0.2.0",
      "date": "2021-05-22"
    },
    {
      "version": "0.2.1",
      "date": "2021-06-07"
    },
    {
      "version": "0.2.2",
      "date": "2021-07-19"
    },
    {
      "version": "0.2.3",
      "date": "2022-08-08"
    },
    {
      "version": "0.2.4",
      "date": "2023-09-14"
    },
    {
      "version": "0.2.7",
      "date": "2023-10-20"
    },
    {
      "version": "0.2.8",
      "date": "2023-11-09"
    }
  ],
  "_exports": [
    "add_intercept",
    "all_centered",
    "centered_contrasts",
    "cmat",
    "cmat<-",
    "cmat2eqs",
    "cmat2hmat",
    "contr.hypothesis",
    "contr.hypothesis<-",
    "contrasts<-",
    "eqs2cmat",
    "eqs2hmat",
    "filler_contrasts",
    "filler_names",
    "formula",
    "formula<-",
    "ginv2",
    "has_intercept",
    "hmat",
    "hmat<-",
    "hmat2cmat",
    "hmat2eqs",
    "hypr",
    "is_centered",
    "is_intercept",
    "levels",
    "nlevels",
    "remove_intercept",
    "show",
    "target_names",
    "thmat",
    "thmat<-",
    "which_centered",
    "which_filler",
    "which_intercept",
    "which_target"
  ],
  "_help": [
    {
      "page": "combination",
      "title": "Combining hypr objects by addition or interaction",
      "topics": [
        "&,hypr,hypr-method",
        "*,hypr,hypr-method",
        "+,hypr,hypr-method",
        "/,hypr,hypr-method"
      ]
    },
    {
      "page": "is_intercept",
      "title": "Intercept checks",
      "topics": [
        "add_intercept",
        "has_intercept",
        "is_intercept",
        "remove_intercept",
        "which_intercept"
      ]
    },
    {
      "page": "centered_contrasts",
      "title": "Contrast centering",
      "topics": [
        "all_centered",
        "centered_contrasts",
        "is_centered",
        "which_centered"
      ]
    },
    {
      "page": "cmat",
      "title": "Retrieve or set contrast matrix",
      "topics": [
        "cmat",
        "cmat<-",
        "contr.hypothesis",
        "contr.hypothesis<-",
        "contrasts<-,factor,ANY,hypr-method",
        "contrasts<-,factor,ANY,hypr_cmat-method"
      ]
    },
    {
      "page": "conversions",
      "title": "Shorthand versions for simple hypothesis translation",
      "topics": [
        "cmat2eqs",
        "cmat2hmat",
        "conversions",
        "eqs2cmat",
        "eqs2hmat",
        "hmat2cmat",
        "hmat2eqs"
      ]
    },
    {
      "page": "filler_contrasts",
      "title": "Generate filler contrasts",
      "topics": [
        "filler_contrasts",
        "filler_names",
        "target_names",
        "which_filler",
        "which_target"
      ]
    },
    {
      "page": "formula-set",
      "title": "Manipulate the formulas of an S4 object",
      "topics": [
        "formula<-"
      ]
    },
    {
      "page": "ginv2",
      "title": "Enhanced generalized inverse function",
      "topics": [
        "ginv2"
      ]
    },
    {
      "page": "hmat",
      "title": "Retrieve and set hypothesis matrix",
      "topics": [
        "hmat",
        "hmat<-",
        "thmat",
        "thmat<-"
      ]
    },
    {
      "page": "hypr",
      "title": "Create a hypr object",
      "topics": [
        "hypr"
      ]
    },
    {
      "page": "hypr-class",
      "title": "S4 class “hypr” and its methods",
      "topics": [
        "as.call,hypr-method",
        "formula,hypr-method",
        "formula<-,hypr-method",
        "hypr-class",
        "levels,hypr-method",
        "levels<-,hypr-method",
        "names,hypr-method",
        "names<-,hypr-method",
        "nlevels,hypr-method",
        "show,hypr-method"
      ]
    }
  ],
  "_readme": "https://github.com/mmrabe/hypr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "lattice",
    "magrittr",
    "MASS",
    "Matrix",
    "pracma"
  ],
  "_vignettes": [
    {
      "source": "hypr-intro.Rmd",
      "filename": "hypr-intro.html",
      "title": "Introduction to hypr",
      "author": "Maximilian M. Rabe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Creating a hypr object",
        "Using and manipulating hypr objects",
        "Deriving contrasts"
      ],
      "created": "2019-10-09 14:25:48",
      "modified": "2019-11-20 16:12:58",
      "commits": 4
    },
    {
      "source": "hypr-regression.Rmd",
      "filename": "hypr-regression.html",
      "title": "Using hypr for linear regression",
      "author": "Daniel J. Schad & Maximilian M. Rabe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Simulated dataset",
        "Example: Treatment contrasts",
        "Example: Sum contrast coding"
      ],
      "created": "2019-10-09 14:25:48",
      "modified": "2020-02-28 09:22:25",
      "commits": 4
    },
    {
      "source": "hypr-contrasts.Rmd",
      "filename": "hypr-contrasts.html",
      "title": "Using hypr to understand contrasts",
      "author": "Daniel J. Schad & Maximilian M. Rabe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Example: Treatment contrasts"
      ],
      "created": "2019-10-09 14:25:48",
      "modified": "2019-10-10 07:35:19",
      "commits": 3
    }
  ],
  "_score": 6.88798280893626,
  "_indexed": true,
  "_nocasepkg": "hypr",
  "_universes": [
    "mmrabe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-10-03T08:34:42.000Z",
      "distro": "resolute",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/73d46a65f40531546374f8c4a2d3dd4b77cc52ede826e43ef23b1bf11326c633",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-10-03T08:35:39.000Z",
      "distro": "resolute",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/9fa0271867fdab0fca06526b952266f3963320a42c43b50b0763c7f2bca912f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-10-03T08:36:41.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/6b3f166d614cfe103c4d2926774cf625a770c92aff4004ff664b41581a26954a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-10-03T08:37:04.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/26b82cf7444a09efe773206616ada53f9f69b0f75bdec6e176676d087567597a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8",
      "date": "2026-10-03T08:34:23.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/b5dcb0121d70e7ebb619a456a49b98dd7537041c767474d5c953447307d370d1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-10-03T08:33:50.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/afea641a253f30c94c2546fe563bf92d31386383d220cb83f629f1cb4e8be011",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-10-03T08:33:48.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/cc08cd9e47840fc63982319e016e38ea386bbdec38ca877dc8ba3cf236aa8517",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-10-03T08:33:56.000Z",
      "commit": "5573df5a5108f21c5356b9f4b0953af097c40de2",
      "fileid": "https://r2.ropensci.org/29dbefb4ea64f888626bcbfed577bd2ad84ff5e7b0571ad4663ea1bcd4e826ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mmrabe/actions/runs/37109920069"
    }
  ]
}