{
  "_id": "6a5184349b92047c28d50a80",
  "Package": "ggpower",
  "Title": "Publication-Ready Power Analysis and Visualization",
  "Version": "0.1.2",
  "Authors@R": "person(\"Yaoxiang\", \"Li\", , \"liyaoxiang@outlook.com\", role = c(\"aut\", \"cre\"))",
  "Author": "Yaoxiang Li [aut, cre]",
  "Maintainer": "Yaoxiang Li <liyaoxiang@outlook.com>",
  "Description": "Provides statistical power analysis and sample size\ncalculations for t-tests, ANOVA, regression, chi-square,\nproportion, correlation, nonparametric, biomarker, and clinical\ntrial designs. Includes a scriptable API via power_compute(),\npublication-ready 'ggplot2' visualizations, and an optional\n'Shiny' application.",
  "URL": "https://github.com/YaoxiangLi/ggpower,\nhttps://yaoxiangli.github.io/ggpower/",
  "BugReports": "https://github.com/YaoxiangLi/ggpower/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-10 23:42:41 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-10 20:50:17 UTC",
  "RemoteUrl": "https://github.com/cran/ggpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "4777d3fdd9dee7e7d5cf3170a7162f099f81eba2",
  "_user": "cran",
  "_type": "src",
  "_file": "ggpower_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/6cbd0f83427ffe7877c4d3106f0d670ee38d8ee487e38346f2bde063ea5e9fdc",
  "_filesize": 209351,
  "_sha256": "6cbd0f83427ffe7877c4d3106f0d670ee38d8ee487e38346f2bde063ea5e9fdc",
  "_expires": "2026-10-18T23:45:54.000Z",
  "_created": "2026-07-10T23:42:41.000Z",
  "_published": "2026-07-10T23:45:56.556Z",
  "_jobs": [
    {
      "job": 86486175536,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8242041195"
    },
    {
      "job": 86486175535,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8242041650"
    },
    {
      "job": 86485751987,
      "time": 229,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8242010037"
    },
    {
      "job": 86486175522,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8242038266"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/29130830101",
  "_status": "success",
  "_upstream": "https://github.com/cran/ggpower",
  "_commit": {
    "id": "4777d3fdd9dee7e7d5cf3170a7162f099f81eba2",
    "author": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2\n",
    "time": 1783716617
  },
  "_maintainer": {
    "name": "Yaoxiang Li",
    "email": "liyaoxiang@outlook.com",
    "login": "yaoxiangli",
    "description": "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science.",
    "uuid": 18198096
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "bs4Dash",
      "role": "Imports"
    },
    {
      "package": "config",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "golem",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.2",
      "date": "2026-07-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yaoxiangli",
      "count": 1,
      "uuid": 18198096
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 617,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggpower"
  },
  "_devurl": "https://github.com/yaoxiangli/ggpower",
  "_pkgdown": "https://yaoxiangli.github.io/ggpower/",
  "_searchresults": 72,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggpower.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2026-07-10"
    }
  ],
  "_exports": [
    "effect_size_d",
    "effect_size_f",
    "effect_size_f2",
    "effect_size_f2_increase",
    "effect_size_h",
    "effect_size_q",
    "effect_size_w",
    "eta2_from_f",
    "format_result_html",
    "ggpower_calculator",
    "ggpower_result",
    "ggpower_t_one_sample",
    "ggpower_tests",
    "ggpower_ttest",
    "odds_ratio_from_probs",
    "plot_distribution",
    "plot_power_curve",
    "power_compute",
    "power_t_one_sample",
    "power_t_paired",
    "power_t_two_sample",
    "r2_from_f2",
    "run_app",
    "save_distribution_plot",
    "save_power_plot",
    "theme_ggpower"
  ],
  "_help": [
    {
      "page": "effect_size_helpers",
      "title": "Effect-size helper functions",
      "topics": [
        "effect_size_d",
        "effect_size_f",
        "effect_size_f2",
        "effect_size_f2_increase",
        "effect_size_h",
        "effect_size_q",
        "effect_size_w",
        "eta2_from_f",
        "odds_ratio_from_probs",
        "r2_from_f2"
      ]
    },
    {
      "page": "format_result_html",
      "title": "Format a ggpower result as structured HTML for Shiny UI",
      "topics": [
        "format_result_html"
      ]
    },
    {
      "page": "ggpower_calculator",
      "title": "Evaluate a ggpower calculator script",
      "topics": [
        "ggpower_calculator"
      ]
    },
    {
      "page": "ggpower_result",
      "title": "Create a ggpower result object",
      "topics": [
        "ggpower_result",
        "print.ggpower_result"
      ]
    },
    {
      "page": "ggpower_t_one_sample",
      "title": "Plot Power Curve for a One-Sample t-Test",
      "topics": [
        "ggpower_t_one_sample"
      ]
    },
    {
      "page": "ggpower_tests",
      "title": "List supported statistical power tests",
      "topics": [
        "ggpower_tests"
      ]
    },
    {
      "page": "ggpower_ttest",
      "title": "Plot Power Curve for a Two-Sample t-Test",
      "topics": [
        "ggpower_ttest"
      ]
    },
    {
      "page": "plot_distribution",
      "title": "Plot H0 and H1 distributions",
      "topics": [
        "plot_distribution"
      ]
    },
    {
      "page": "plot_power_curve",
      "title": "Plot a power curve",
      "topics": [
        "plot_power_curve"
      ]
    },
    {
      "page": "power_compute",
      "title": "Compute statistical power analyses",
      "topics": [
        "power_compute"
      ]
    },
    {
      "page": "power_t_one_sample",
      "title": "Compute Power for a One-Sample t-Test",
      "topics": [
        "power_t_one_sample"
      ]
    },
    {
      "page": "power_t_paired",
      "title": "Compute power for a paired-samples t-test",
      "topics": [
        "power_t_paired"
      ]
    },
    {
      "page": "power_t_two_sample",
      "title": "Compute Power for a Two-Sample t-Test (Equal Sample Sizes)",
      "topics": [
        "power_t_two_sample"
      ]
    },
    {
      "page": "run_app",
      "title": "Run the Shiny Application",
      "topics": [
        "run_app"
      ]
    },
    {
      "page": "save_power_plot",
      "title": "Save a ggpower plot",
      "topics": [
        "save_distribution_plot",
        "save_power_plot"
      ]
    },
    {
      "page": "theme_ggpower",
      "title": "Publication-ready ggpower theme",
      "topics": [
        "theme_ggpower"
      ]
    }
  ],
  "_readme": "https://github.com/cran/ggpower/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "attempt",
    "base64enc",
    "bs4Dash",
    "bslib",
    "cachem",
    "cli",
    "codetools",
    "commonmark",
    "config",
    "cpp11",
    "curl",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fresh",
    "fs",
    "ggplot2",
    "glue",
    "golem",
    "gtable",
    "htmltools",
    "httpuv",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "sys",
    "vctrs",
    "viridisLite",
    "waiter",
    "withr",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "analysis-modes.Rmd",
      "filename": "analysis-modes.html",
      "title": "Analysis Modes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A priori — sample size",
        "Post hoc — achieved power",
        "Criterion — alpha",
        "Sensitivity — effect size",
        "Compromise — alpha and beta ratio",
        "Effect size conversions",
        "Calculator",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "biomarker-endpoints.Rmd",
      "filename": "biomarker-endpoints.html",
      "title": "Biomarker Endpoints",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Differential expression",
        "ROC and AUC",
        "Diagnostic accuracy",
        "Survival (log-rank)",
        "Cox prognostic models",
        "Multiplicity and FDR",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "choosing-a-power-analysis.Rmd",
      "filename": "choosing-a-power-analysis.html",
      "title": "Choosing a Power Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example: Planning a One-Sample Mean Test",
        "Choosing tests",
        "Sidebar modules",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "clinical-trials.Rmd",
      "filename": "clinical-trials.html",
      "title": "Clinical Trials",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Phase III superiority",
        "Non-inferiority",
        "Equivalence (TOST)",
        "Simon two-stage (Phase II)",
        "Cluster RCT",
        "Survival endpoints",
        "Binary and count endpoints",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "getting-started-gui.Rmd",
      "filename": "getting-started-gui.html",
      "title": "Getting Started with the GUI",
      "engine": "knitr::rmarkdown",
      "headings": [
        "In plain English",
        "Sidebar modules",
        "Launch the app",
        "Typical workflow",
        "Worked example (script)",
        "Related analyses"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "reference-validation.Rmd",
      "filename": "reference-validation.html",
      "title": "Reference Validation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1: One-sample t, a priori",
        "Example 2: Multiple regression omnibus, post hoc",
        "Example 3: ANOVA special, post hoc",
        "Example 4: Two-sample t, unequal n, post hoc",
        "Recommended tolerances",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "scenario-guide.Rmd",
      "filename": "scenario-guide.html",
      "title": "Scenario Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Implemented scenarios (48 tests)",
        "Power Workspace (30 tests)",
        "Biomarker Discovery (7 tests)",
        "Clinical Trials (11 tests)",
        "Decision table",
        "Not yet implemented",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "support-matrix.Rmd",
      "filename": "support-matrix.html",
      "title": "Support Matrix",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Coverage table",
        "Counts by module",
        "Mode restrictions",
        "Vignette index",
        "Related analyses"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "t-tests.Rmd",
      "filename": "t-tests.html",
      "title": "t Tests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One sample",
        "Two independent means",
        "Matched pairs",
        "Point-biserial correlation",
        "Linear regression slope",
        "Two-group slope difference",
        "Generic t (direct NCP)",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    },
    {
      "source": "workspace-test-families.Rmd",
      "filename": "workspace-test-families.html",
      "title": "Workspace Test Families",
      "engine": "knitr::rmarkdown",
      "headings": [
        "ANOVA and regression",
        "Exact and proportion tests",
        "Correlation and z tests",
        "Logistic and Poisson regression",
        "Nonparametric tests",
        "Related"
      ],
      "created": "2026-07-10 20:50:17",
      "modified": "2026-07-10 20:50:17",
      "commits": 1
    }
  ],
  "_score": 4.556302500767288,
  "_indexed": true,
  "_nocasepkg": "ggpower",
  "_universes": [
    "cran",
    "yaoxiangli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-10T23:45:04.000Z",
      "distro": "resolute",
      "commit": "4777d3fdd9dee7e7d5cf3170a7162f099f81eba2",
      "fileid": "https://r2.ropensci.org/3897ffd40ac4f79554115bfc0b89e2021a3827ee85185e9274f52669625aba2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29130830101"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-10T23:45:04.000Z",
      "distro": "resolute",
      "commit": "4777d3fdd9dee7e7d5cf3170a7162f099f81eba2",
      "fileid": "https://r2.ropensci.org/a23a4b0b1240d453288bc9a9b82e923ce8c77f420805e076f7b5d26b3ad11453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29130830101"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-07-10T23:45:15.000Z",
      "commit": "4777d3fdd9dee7e7d5cf3170a7162f099f81eba2",
      "fileid": "https://r2.ropensci.org/ba72056263d6045b6dad71e9f8d2b1619f1c370332c0f040dd97cc4b1c15b730",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/29130830101"
    }
  ]
}