{
  "_id": "6a520b209b92047c28d54390",
  "Package": "ggpower",
  "Title": "Publication-Ready Power Analysis and Visualization",
  "Version": "0.1.1",
  "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",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev zlib1g-dev",
  "Repository": "https://yaoxiangli.r-universe.dev",
  "Date/Publication": "2026-06-29 18:29:26 UTC",
  "RemoteUrl": "https://github.com/yaoxiangli/ggpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-11 09:17:53 UTC",
    "User": "root"
  },
  "_user": "yaoxiangli",
  "_type": "src",
  "_file": "ggpower_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/4248636f2ddd8c4120e3acfb508cec40c6ea1a492520f60aa8fd659b29e5525b",
  "_filesize": 205681,
  "_sha256": "4248636f2ddd8c4120e3acfb508cec40c6ea1a492520f60aa8fd659b29e5525b",
  "_expires": "2026-10-19T09:21:34.000Z",
  "_created": "2026-07-11T09:17:53.000Z",
  "_published": "2026-07-11T09:21:36.564Z",
  "_jobs": [
    {
      "job": 86531459773,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8247207902"
    },
    {
      "job": 86531459784,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247204609"
    },
    {
      "job": 86531459835,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8247208837"
    },
    {
      "job": 86531459774,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247201759"
    },
    {
      "job": 86531208455,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247186579"
    },
    {
      "job": 86531459770,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8247202596"
    },
    {
      "job": 86531459787,
      "time": 104,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8247199931"
    },
    {
      "job": 86531459805,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8247200052"
    },
    {
      "job": 86531459783,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8247201881"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701",
  "_status": "success",
  "_upstream": "https://github.com/yaoxiangli/ggpower",
  "_commit": {
    "id": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
    "author": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "committer": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "message": "Initial release of ggpower 0.1.1.\r\n\r\nPublication-ready statistical power analysis with Shiny app, 48 tests, and pkgdown documentation.\r\n\r\n",
    "time": 1782757766
  },
  "_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": "yaoxiangli",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "biomarker",
    "clinical-trials",
    "ggplot2",
    "power-analysis",
    "sample-size",
    "shiny",
    "statistics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yaoxiangli",
      "count": 1,
      "uuid": 18198096
    }
  ],
  "_userbio": {
    "uuid": 18198096,
    "type": "user",
    "name": "Yaoxiang Li",
    "followers": 44,
    "description": "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."
  },
  "_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"
  ],
  "_homeurl": "https://github.com/yaoxiangli/ggpower",
  "_realowner": "yaoxiangli",
  "_cranurl": true,
  "_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/yaoxiangli/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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "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-06-29 18:29:26",
      "modified": "2026-06-29 18:29:26",
      "commits": 1
    }
  ],
  "_score": 5.556302500767288,
  "_indexed": true,
  "_nocasepkg": "ggpower",
  "_universes": [
    "yaoxiangli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-11T09:20:30.000Z",
      "distro": "resolute",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/742a77f5632360590a4c53937b694c0114a0f56fa5ed4800a09688c45bb286ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-07-11T09:20:07.000Z",
      "distro": "resolute",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/2f2607c31de9cf601c1f0e0f4d4a8ce91891eee039d8652ff8727d90331c4779",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-11T09:20:45.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/78fad1e37ad9048f4aab91b22eb356c160045614fce84b5ecde16d4fc1076f18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-07-11T09:19:44.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/31d0f07708e183cf028ed13ca63de61faf693bc931b5304dd533fea7a69c8055",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-07-11T09:20:18.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/d01bae4611286e3e5d3915d137ce12a403f0a4687c33d0ee735bd816dd68bd6d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-11T09:19:25.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/838b5a44b5d5effdab8b5f8beb5087ee84f8696663439080d9f6a42faa3fab3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-11T09:19:21.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/fe87b4a0bac991b86663807ab3450349583275756ef1dbf273f38c00c703942c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-07-11T09:19:34.000Z",
      "commit": "ef7ce6287b2c2f7e207a97eaeabc5d2c9c4a74e3",
      "fileid": "https://r2.ropensci.org/fdc5dd21d127e48336c45698f1519f8379dd1d13ba10d722aaf1430d4517ea47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/29147403701"
    }
  ]
}