{
  "_id": "6a1f1058b401979e7341d771",
  "Package": "pwr4exp",
  "Title": "Power Analysis for Research Experiments",
  "Version": "1.0.1.9000",
  "Authors@R": "c(\nperson(\"Kai\", \"Wang\", , \"kai.wang@usys.ethz.ch\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6672-1121\")),\nperson(\"Mutian\", \"Niu\", , \"mutian.niu@usys.ethz.ch\", role = c(\"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4484-4611\"))\n)",
  "Description": "Provides tools for calculating statistical power for\nexperiments analyzed using linear mixed models. It supports\nstandard designs, including randomized block, split-plot, and\nLatin Square designs, while offering flexibility to accommodate\na variety of other complex study designs.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/an-ethz/pwr4exp,\nhttps://an-ethz.github.io/pwr4exp/",
  "BugReports": "https://github.com/an-ethz/pwr4exp/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://an-ethz.r-universe.dev",
  "Date/Publication": "2025-11-11 12:32:19 UTC",
  "RemoteUrl": "https://github.com/an-ethz/pwr4exp",
  "RemoteRef": "HEAD",
  "RemoteSha": "f255127b17f63a81141cb7e21634df6dedd0028a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 08:18:46 UTC",
    "User": "root"
  },
  "Author": "Kai Wang [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6672-1121>),\nMutian Niu [aut, cph] (ORCID: <https://orcid.org/0000-0003-4484-4611>)",
  "Maintainer": "Kai Wang <kai.wang@usys.ethz.ch>",
  "MD5sum": "5f49e0d66d36a8b903add3f7b0937b14",
  "_user": "an-ethz",
  "_type": "src",
  "_file": "pwr4exp_1.0.1.9000.tar.gz",
  "_fileid": "7aaaff12b474b74a712000216750883101aade834699f0ea3d9fcb217b96b17d",
  "_filesize": 246227,
  "_sha256": "7aaaff12b474b74a712000216750883101aade834699f0ea3d9fcb217b96b17d",
  "_created": "2026-05-17T08:18:46.000Z",
  "_published": "2026-06-02T17:18:16.779Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79130064635,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040768061"
    },
    {
      "job": 79130065048,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040768038"
    },
    {
      "job": 79130064609,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040766571"
    },
    {
      "job": 79130064868,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040765240"
    },
    {
      "job": 79130063789,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040750942"
    },
    {
      "job": 79130063661,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364878479"
    },
    {
      "job": 79130064719,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040767279"
    },
    {
      "job": 79130064784,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040763037"
    },
    {
      "job": 79130064701,
      "time": 91,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040761722"
    }
  ],
  "_buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/an-ethz/pwr4exp",
  "_commit": {
    "id": "f255127b17f63a81141cb7e21634df6dedd0028a",
    "author": "KaiWang <kai.wang@usys.ethz.ch>",
    "committer": "KaiWang <kai.wang@usys.ethz.ch>",
    "message": "Increment version number to 1.0.1.9000\n",
    "time": 1762864339
  },
  "_maintainer": {
    "name": "Kai Wang",
    "email": "kai.wang@usys.ethz.ch",
    "login": "wangkai7kkw",
    "orcid": "0000-0002-6672-1121",
    "description": "PhD candidate in Animal Nutrition",
    "uuid": 115039586
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "emmeans",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "agricolae",
      "role": "Suggests"
    },
    {
      "package": "AlgDesign",
      "role": "Suggests"
    },
    {
      "package": "crossdes",
      "role": "Suggests"
    },
    {
      "package": "FrF2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "an-ethz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-11-11"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "wangkai7kkw",
      "count": 78,
      "uuid": 115039586
    }
  ],
  "_userbio": {
    "uuid": 179204422,
    "type": "organization",
    "name": "Animal Nutrition Group",
    "description": "Animal Nutrition Group, Institute of Agricultural Sciences, D-USYS, ETH Zurich"
  },
  "_downloads": {
    "count": 202,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pwr4exp"
  },
  "_devurl": "https://github.com/an-ethz/pwr4exp",
  "_pkgdown": "https://an-ethz.github.io/pwr4exp/",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pwr4exp.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/an-ethz/pwr4exp",
  "_realowner": "an-ethz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-10-11"
    },
    {
      "version": "1.0.0",
      "date": "2025-03-17"
    },
    {
      "version": "1.0.1",
      "date": "2025-11-11"
    }
  ],
  "_exports": [
    "corAR1",
    "corARMA",
    "corCAR1",
    "corCompSymm",
    "corExp",
    "corGaus",
    "corLin",
    "corRatio",
    "corSpher",
    "corSymm",
    "designCOD",
    "designCRD",
    "designLSD",
    "designRCBD",
    "designSPD",
    "mkdesign",
    "pwr.anova",
    "pwr.contrast",
    "pwr.summary"
  ],
  "_datasets": [
    {
      "name": "milk",
      "title": "An exemplary dataset of a 4x4 crossover design with 2 squares",
      "object": "milk",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cow",
        "Period",
        "Treatment",
        "MilkYield"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "corAR1",
      "title": "AR(1) Correlation Structure",
      "topics": [
        "corAR1"
      ]
    },
    {
      "page": "corARMA",
      "title": "ARMA(p,q) Correlation Structure",
      "topics": [
        "corARMA"
      ]
    },
    {
      "page": "corCAR1",
      "title": "Continuous AR(1) Correlation Structure",
      "topics": [
        "corCAR1"
      ]
    },
    {
      "page": "corClasses",
      "title": "Correlation Structure Classes",
      "topics": [
        "corClasses"
      ]
    },
    {
      "page": "corCompSymm",
      "title": "Compound Symmetry Correlation Structure",
      "topics": [
        "corCompSymm"
      ]
    },
    {
      "page": "corExp",
      "title": "Exponential Correlation Structure",
      "topics": [
        "corExp"
      ]
    },
    {
      "page": "corGaus",
      "title": "Gaussian Correlation Structure",
      "topics": [
        "corGaus"
      ]
    },
    {
      "page": "corLin",
      "title": "Linear Correlation Structure",
      "topics": [
        "corLin"
      ]
    },
    {
      "page": "corRatio",
      "title": "Rational Quadratics Correlation Structure",
      "topics": [
        "corRatio"
      ]
    },
    {
      "page": "corSpher",
      "title": "Spherical Correlation Structure",
      "topics": [
        "corSpher"
      ]
    },
    {
      "page": "corSymm",
      "title": "General Correlation Structure",
      "topics": [
        "corSymm"
      ]
    },
    {
      "page": "create_designs",
      "title": "Creation of Standard Experimental Designs",
      "topics": [
        "design.COD",
        "design.CRD",
        "design.LSD",
        "design.RCBD",
        "design.SPD",
        "designCOD",
        "designCRD",
        "designLSD",
        "designRCBD",
        "designSPD"
      ]
    },
    {
      "page": "df.cod",
      "title": "Create a data frame for Crossover design",
      "topics": [
        "df.cod"
      ]
    },
    {
      "page": "df.crd",
      "title": "Create a data frame of completely randomized design",
      "topics": [
        "df.crd"
      ]
    },
    {
      "page": "df.lsd",
      "title": "Create a data frame for Latin square design",
      "topics": [
        "df.lsd"
      ]
    },
    {
      "page": "df.rcbd",
      "title": "Create a data frame of randomized complete block design",
      "topics": [
        "df.rcbd"
      ]
    },
    {
      "page": "df.spd",
      "title": "Create data frame for split-plot design",
      "topics": [
        "df.spd"
      ]
    },
    {
      "page": "milk",
      "title": "An exemplary dataset of a 4x4 crossover design with 2 squares",
      "topics": [
        "milk"
      ]
    },
    {
      "page": "mkdesign",
      "title": "Create a Design Object for Power Calculation",
      "topics": [
        "mkdesign"
      ]
    },
    {
      "page": "pwr.anova",
      "title": "Power of omnibus tests",
      "topics": [
        "pwr.anova"
      ]
    },
    {
      "page": "pwr.contrast",
      "title": "Power of contrasts",
      "topics": [
        "pwr.contrast"
      ]
    },
    {
      "page": "pwr.summary",
      "title": "Power for model coefficients",
      "topics": [
        "pwr.summary"
      ]
    }
  ],
  "_readme": "https://github.com/an-ethz/pwr4exp/raw/HEAD/README.md",
  "_rundeps": [
    "emmeans",
    "estimability",
    "lattice",
    "MASS",
    "Matrix",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "pwr4exp.Rmd",
      "filename": "pwr4exp.html",
      "title": "pwr4exp: Power Analysis for Experimental Designs",
      "author": "R Package Version r packageVersion('pwr4exp')",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a design object",
        "The mkdesign function",
        "Specific design functions",
        "Parameter templates",
        "beta Template",
        "means Template",
        "vcomp Template",
        "Correlation structures",
        "Power calculation",
        "Power Calculation for Omnibus F-Tests",
        "Power Calculation for Specific Contrasts",
        "Power Calculation for Model Coefficients",
        "Practical Examples",
        "Example 1. Completely Randomized Design",
        "Example 2. Randomized complete block design",
        "Example 3. Latin square design",
        "Example 4: Split-plot Design",
        "Example 5: Repeated measures",
        "Fundamental concepts",
        "Inference on Treatment Effects",
        "Power Calculation Under the Alternative Hypothesis",
        "References"
      ],
      "created": "2024-08-12 19:46:49",
      "modified": "2025-11-10 18:18:48",
      "commits": 10
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "pwr4exp",
  "_universes": [
    "an-ethz",
    "wangkai7kkw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:59.000Z",
      "distro": "noble",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "369d167ec53b903b03e4d2c9f3b86305c37962ceff2f9d92ce72682a775b56c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:58.000Z",
      "distro": "noble",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "6f892aab59803bae66b244d0414c09c3dbe7df9738ec304cecb9733b34fc8118",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:57.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "fcb50823a944b02a97fbd2464e982ad47c79c9228e4b850575ca55cafb91517d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:47.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "34170fb1f5a0edc4a025db5ffe9a5c22cecb6ee49472ffc855ef6cc259419b1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:02.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "9e979712213cfb1d1fab807f24973bb6b1a1c360a1370a76db307888cacfbe80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:05.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "97bd28c327c50aefae0c73641262b5585bde43453eebea6e35199166e0da13d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-17T08:20:01.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "0f153359015cbcd11f75d37ab5c434479d5966d0d3095884905fd30d9f9729a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-06-02T17:18:00.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "292d820dabcf18c1d9dbf5a66d6b7debfe238ce4cb03ed730dd8eb677bf0b7d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/25985607350"
    }
  ]
}