{
  "_id": "6ab3747f3d719c1f8408f8eb",
  "Package": "ggpower",
  "Title": "Publication-Ready Power Analysis and Visualization",
  "Version": "0.1.3",
  "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",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://yaoxiangli.r-universe.dev",
  "Date/Publication": "2026-07-25 00:29:59 UTC",
  "RemoteUrl": "https://github.com/yaoxiangli/ggpower",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-23 06:24:09 UTC",
    "User": "root"
  },
  "_user": "yaoxiangli",
  "_type": "src",
  "_file": "ggpower_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/501a5f9daa874a3cc5d06ed0f27bc82d35c066239e3fcdc3e76de84866545944",
  "_filesize": 210783,
  "_sha256": "501a5f9daa874a3cc5d06ed0f27bc82d35c066239e3fcdc3e76de84866545944",
  "_expires": "2027-01-01T06:41:01.000Z",
  "_created": "2026-09-23T06:24:09.000Z",
  "_published": "2026-09-23T06:41:03.307Z",
  "_jobs": [
    {
      "job": 107069640898,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10735925240"
    },
    {
      "job": 107069640906,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735446603"
    },
    {
      "job": 107069640899,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10736155882"
    },
    {
      "job": 107069640905,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735941195"
    },
    {
      "job": 107068662121,
      "time": 240,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735600971"
    },
    {
      "job": 107069640940,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10735955158"
    },
    {
      "job": 107069640976,
      "time": 97,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10735247755"
    },
    {
      "job": 107069640934,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10735656090"
    },
    {
      "job": 107069640992,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10735366803"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180",
  "_status": "success",
  "_upstream": "https://github.com/yaoxiangli/ggpower",
  "_commit": {
    "id": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
    "author": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "committer": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "message": "Remove pkgdown from package dependencies\n",
    "time": 1784939399
  },
  "_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": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "bs4Dash",
      "role": "Suggests"
    },
    {
      "package": "config",
      "role": "Suggests"
    },
    {
      "package": "golem",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "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
    },
    {
      "week": "2026-30",
      "n": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "biomarker",
    "clinical-trials",
    "ggplot2",
    "power-analysis",
    "sample-size",
    "shiny",
    "statistics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yaoxiangli",
      "count": 5,
      "uuid": 18198096
    }
  ],
  "_userbio": {
    "uuid": 18198096,
    "type": "user",
    "name": "Yaoxiang Li",
    "followers": 45,
    "description": "The most beautiful thing we can experience is the mysterious. It is the source of all true art and science."
  },
  "_downloads": {
    "count": 289,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggpower"
  },
  "_devurl": "https://github.com/yaoxiangli/ggpower",
  "_pkgdown": "https://yaoxiangli.github.io/ggpower/",
  "_searchresults": 70,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggpower.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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_d",
      "title": "Compute Cohen's d from means and standard deviation",
      "topics": [
        "effect_size_d"
      ]
    },
    {
      "page": "effect_size_f",
      "title": "Compute Cohen's f from eta-squared",
      "topics": [
        "effect_size_f"
      ]
    },
    {
      "page": "effect_size_f2",
      "title": "Compute Cohen's f2 from R-squared",
      "topics": [
        "effect_size_f2"
      ]
    },
    {
      "page": "effect_size_f2_increase",
      "title": "Compute f2 for an R-squared increase",
      "topics": [
        "effect_size_f2_increase"
      ]
    },
    {
      "page": "effect_size_h",
      "title": "Compute Cohen's h for two proportions",
      "topics": [
        "effect_size_h"
      ]
    },
    {
      "page": "effect_size_q",
      "title": "Compute Cohen's q for two correlations",
      "topics": [
        "effect_size_q"
      ]
    },
    {
      "page": "effect_size_w",
      "title": "Compute chi-square effect size w",
      "topics": [
        "effect_size_w"
      ]
    },
    {
      "page": "eta2_from_f",
      "title": "Convert Cohen's f to eta-squared",
      "topics": [
        "eta2_from_f"
      ]
    },
    {
      "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": "odds_ratio_from_probs",
      "title": "Compute odds ratio from two probabilities",
      "topics": [
        "odds_ratio_from_probs"
      ]
    },
    {
      "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": "r2_from_f2",
      "title": "Convert f2 to R-squared",
      "topics": [
        "r2_from_f2"
      ]
    },
    {
      "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": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_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.845098040014257,
  "_indexed": true,
  "_nocasepkg": "ggpower",
  "_universes": [
    "yaoxiangli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-23T06:26:41.000Z",
      "distro": "resolute",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/c9e61be7bafc0b196e8dbb93060673877bb374166de45be305062d3a98c88adc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-23T06:26:37.000Z",
      "distro": "resolute",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/4b26c155e9e3ba57b87d7a43fa24a162c863062b6eaf16d0fb81b691fc5cd01a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-23T06:40:18.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/8bd18fed0746a5c55d9d44e05cf267013f97121d1b3df1445b72e4999a3a05d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-23T06:35:58.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/5d2c98a81b03be4cc5577302223e8f705ffb5bf4d2a64d03dbb77a287255a50f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-09-23T06:27:01.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/c3da45da7b8de249d83e5cb23359cbc2f0f246e0e2d4446ac175c50b4df810e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-23T06:25:38.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/21f05600d4c6ac037c148f1ad186e327bde0452a1bfb04ca4cdc8e20c2f34c28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-23T06:25:45.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/0ade1b904bebb1d23ca3be8965d504f7ab2fffd6ff8dc611eec768c9255d90bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-23T06:25:34.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/849a9a06490c44f0999dd65561de0132f24d037eb3856d6290fa7dc63b2b0ca4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/35826208180"
    }
  ]
}