summary.mnetPower function

Descriptive statistics for power simulation results

Descriptive statistics for power simulation results

A quick way to view the results of power simulations conducted with mnetPowerSim.

## S3 method for class 'mnetPower' summary(object, ind = "all", order = NULL, decreasing = FALSE, ...)

Arguments

  • object: Output from mnetPowerSim function.

  • ind: Character string or vector to indicate which aspects of the results to view. If "means", then only the means will be returned for all performance indices. "sds" returns the standard deviations, "ses" returns the standard errors, and "medians" returns the medians. These statistics describe the sample distributions according to each combination of input parameters, and with regard to all performance indices. Any combination of these options will return a list with each table as a separate element. "all" returns a list of length 4 with tables for all 4 types of statistic.

  • order: Character string referring to which output index to organize output by.

  • decreasing: Logical. Determines whether to organize values from highest to lowest or vice versa according to the value of the order

    argument.

  • ...: Additional arguments.

Returns

Summary table, or list of summary tables.

Examples

x <- mnetPowerSim(niter = 10, N = c(100, 200)) summary(x) plot(x)

See Also

mnetPowerSim

  • Maintainer: Trevor Swanson
  • License: GPL (>= 3)
  • Last published: 2021-10-01