summary {mpower}R Documentation

Tabular summaries of power simulation

Description

Tabular summaries of power simulation

Usage

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 data.frame summary of power for each predictor for each combination of thresholds, sample size, signal-to-noise ratios.


[Package mpower version 0.1.0 Index]