{
  "_id": "6adb01aa343c88418cb7259f",
  "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-10-23 06:38:38 UTC",
    "User": "root"
  },
  "_user": "yaoxiangli",
  "_type": "src",
  "_file": "ggpower_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/6d4df8d259cf7548fc0f2627cd0959593c879372d46489818ed08d04c46052c5",
  "_filesize": 208228,
  "_sha256": "6d4df8d259cf7548fc0f2627cd0959593c879372d46489818ed08d04c46052c5",
  "_expires": "2027-01-31T06:41:44.000Z",
  "_created": "2026-10-23T06:38:38.000Z",
  "_published": "2026-10-23T06:41:45.988Z",
  "_upstream": "https://github.com/yaoxiangli/ggpower",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 120279383791,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12483582733"
    },
    {
      "job": 120279383805,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483098228"
    },
    {
      "job": 120279383884,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12483637097"
    },
    {
      "job": 120279383822,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483721057"
    },
    {
      "job": 120278102984,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483875978"
    },
    {
      "job": 120279383816,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12483980993"
    },
    {
      "job": 120279383797,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12484070004"
    },
    {
      "job": 120279383781,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12483696767"
    },
    {
      "job": 120279383855,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483089859"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219",
  "_commit": {
    "id": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
    "author": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "committer": "Yaoxiang Li <liyaoxiang@outlook.com>",
    "message": "Remove pkgdown from package dependencies\n",
    "time": 1784939399
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 306,
    "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-10-23T06:40:47.000Z",
      "distro": "resolute",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/1a0d6d80e1870c36ff948d4912cec9a825853bb6a42965d10b1ab20d745e2341",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-23T06:40:46.000Z",
      "distro": "resolute",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/19e9f18a07666c190fec3db7c585e7fd10e7fbe787cfe8e9b73681b47771a11f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-23T06:40:28.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/9a332f7d4e4858314c2eab0cb6a8fa8ff8606297dcdcdb4ba05fa11ea0dd3f47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-23T06:40:18.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/26fc73a9de06a3f667de66457ce26c8c9de25629e700acf20137f7d541bb0340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-10-23T06:40:38.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/7c65de216cf5880981b15ff0642f96c25ea6fa869b3e7ee31d1fa809e9244eac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-23T06:39:50.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/37d6923340e7178843c43e55474591929152e305c5cc3bf2ac831c13793b1578",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-23T06:39:47.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/46dc875f2ab12c3a8b467bc0c1ddfce10f4f664dbe541890d4514fea4401fdc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-23T06:39:47.000Z",
      "commit": "6c2edf163e4c5398ea931bbbec3e32c0abf361a1",
      "fileid": "https://r2.ropensci.org/e6995693f5bd7790e081d516afe97f18663f7e73765470d3ca82b0318fe405fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yaoxiangli/actions/runs/39912352219"
    }
  ]
}