Learn R Programming

PUMP (version 1.0.4)

pumpgridresult: Result object for results of grid power calculations

Description

The pumpgridresult object is an S3 class that holds the results from `pump_power_grid()`, `pump_sample_grid()`, and `pump_mdes_grid()`.

It has several methods that pull different information from this object, and some printing methods for getting nicely formatted results.

Usage

is.pumpgridresult(x)

# S3 method for pumpgridresult print(x, header = TRUE, include_SE = FALSE, ...)

# S3 method for pumpgridresult summary(object, include_SE = FALSE, ...)

Value

is.pumpgridresult: TRUE if object is a pumpgridresult object.

print: No return value; prints results.

summary: No return value; prints results.

Arguments

x

a pumpgridresult object (except for is.pumpgridresult, where it is a generic object to check).

header

logical; FALSE means skip some header info on the result, just print the data.frame of actual results.

include_SE

logical; TRUE means include standard errors and df.

...

extra options passed to print.pumpgridresult

object

object to summarize.