{
  "_id": "6a587fafff0138dec5d74454",
  "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-07-16 06:48:48 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/95c4a494d4d0b9874785b84d6ea8abfb966168a543da687e946b53f245cee39d",
  "_filesize": 245703,
  "_sha256": "95c4a494d4d0b9874785b84d6ea8abfb966168a543da687e946b53f245cee39d",
  "_expires": "2026-10-24T06:52:29.000Z",
  "_created": "2026-07-16T06:48:48.000Z",
  "_published": "2026-07-16T06:52:31.283Z",
  "_jobs": [
    {
      "job": 87554676895,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367302693"
    },
    {
      "job": 87554676882,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367303666"
    },
    {
      "job": 87554676924,
      "time": 136,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367291171"
    },
    {
      "job": 87554676914,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367299979"
    },
    {
      "job": 87554174840,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367249462"
    },
    {
      "job": 87554677046,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8367290278"
    },
    {
      "job": 87554676961,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8367298881"
    },
    {
      "job": 87554676929,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8367303212"
    },
    {
      "job": 87554676932,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8367278268"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745",
  "_status": "success",
  "_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": 3,
  "_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": 226,
    "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/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-07-16T06:51:00.000Z",
      "distro": "resolute",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/714168a63e4237b5091326ac06eb60e493e8412ab0bbda40e24901dda1d30adc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:51:02.000Z",
      "distro": "resolute",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/3dbe9fb066e57d95e73d257335124563dca7f9f53a16f2d53d860e5c3d3c64a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:50:42.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/b26ec82aa1d75af1f984a2e738eba849c98e885b7c991a8e167712684c0f074c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:50:56.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/7b27282f02494fc246c84435da08c70eefe51fab84ac684b6a6e408361eb7c76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:50:58.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/7be99f9d7be530a9218fe43d7b386f142cb04f53fcf9cc309177ccdfe1e32a2d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:50:46.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/9b11f3492fd675649ab1a28a6f00f62d2d040e3ef5c5fe88ab3d88a89213e389",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:50:57.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/780fd0478b1689f811ffadf8b018c6bd65289ff09d91da50766d9973be7c4953",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-07-16T06:49:52.000Z",
      "commit": "f255127b17f63a81141cb7e21634df6dedd0028a",
      "fileid": "https://r2.ropensci.org/3c667c7c8d1bec75e3262ae0d58b66a31b18a3a01be6cfc01c928a2cf1ff275e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/an-ethz/actions/runs/29477680745"
    }
  ]
}