plot_summary {mpower}R 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.


[Package mpower version 0.1.0 Index]