plot_summary: Plot summaries of power simulation

View source: R/sim.R

plot_summaryR Documentation

Plot summaries of power simulation

Description

Plot summaries of power simulation

Usage

plot_summary(sim, crit, thres, digits = 3, how = "greater")

Arguments

sim

A Sim or a SimCurve object, output from 'sim_power()' or 'sim_curve()'.

crit

A string specifying the significance criteria.

thres

A number or vector of numbers specifying the thresholds of "significance".

digits

An integer for the number of decimal points to display.

how

A string, whether to compare the criterion 'greater' or 'lesser' than the threshold.

Value

A 'ggplot2' graphics.


phuchonguyen/mpower documentation built on Oct. 2, 2022, 7:57 p.m.