{
  "_id": "6acf3070d9de2f3f33fc8dac",
  "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-10-14 07:29:06 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>",
  "_user": "an-ethz",
  "_type": "src",
  "_file": "pwr4exp_1.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/f0858dd4e4ccd13378bd13b6e47e2e3eda722c27ea7822da8f88e1307fcd8d67",
  "_filesize": 244924,
  "_sha256": "f0858dd4e4ccd13378bd13b6e47e2e3eda722c27ea7822da8f88e1307fcd8d67",
  "_expires": "2027-01-22T07:34:05.000Z",
  "_created": "2026-10-14T07:29:06.000Z",
  "_published": "2026-10-14T07:34:07.829Z",
  "_buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115734943070,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11877106671"
    },
    {
      "job": 115734943066,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11877381231"
    },
    {
      "job": 115734943091,
      "time": 227,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11876633981"
    },
    {
      "job": 115734943244,
      "time": 216,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876039731"
    },
    {
      "job": 115733839098,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876877596"
    },
    {
      "job": 115734943101,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11877111618"
    },
    {
      "job": 115734943084,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11876514089"
    },
    {
      "job": 115734943179,
      "time": 89,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11876843130"
    },
    {
      "job": 115734943186,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876913725"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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": 4,
  "_contributors": [
    {
      "user": "wangkai7kkw",
      "count": 78,
      "uuid": 115039586
    }
  ],
  "_userbio": {
    "uuid": 179204422,
    "type": "organization",
    "name": "Animal Nutrition Group",
    "followers": 2,
    "description": "Animal Nutrition Group, Institute of Agricultural Sciences, D-USYS, ETH Zurich"
  },
  "_downloads": {
    "count": 310,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pwr4exp.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "pwr4exp",
  "_universes": [
    "an-ethz",
    "wangkai7kkw"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:31:04.000Z",
      "distro": "resolute",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/e147d0453b13d6e77f5cfec9adda3053ee293d48e0ed88e27c22e55ffc8d140d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:30:56.000Z",
      "distro": "resolute",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/8da0ec3a8c1f2978390eec9bbba310a0741fe57afed3eb026685611451cd93b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:32:20.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/535fc5777babf5a22355c405066a8ba774a3df248f7cd9e9670597101a68ff6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:32:03.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/ca2a814ab64a9b6b51d11e7e7c3544fe0a59bb3db97fa30b73fb9c1b4af781e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:31:03.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/409851385284da3eff8cc46218ee6a90846e9a4f4c5f005c532c57ba36e44983",
      "status": "success",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:30:34.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/6fbcce9ccbec44a04c60dd40d965071214e49bb1e26a5cf49dea6f0f77f3ac87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:30:22.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/9c2416f97eaa6087cdcd84cf4c1e2d7bc42aa6fd59bb4c1e434581a399c900f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-10-14T07:30:37.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/a694d4dc401a08fcc4365df254d0b37d39f18ed7379455bda0a196925c7f5c50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/38528279803"
    }
  ]
}