Learn R Programming

cbcTools (version 0.7.1)

summary.cbc_power: Summary method for cbc_power objects

Description

Summary method for cbc_power objects

Usage

# S3 method for cbc_power
summary(object, power_threshold = 0.8, ...)

Value

Returns the input cbc_power object invisibly (class: c("cbc_power", "list")). This function is called for its side effect of printing a detailed summary to the console showing sample size requirements for achieving specified power thresholds for each parameter, including exact power levels and standard errors at the required sample sizes.

Arguments

object

A cbc_power object

power_threshold

Minimum power threshold to report sample size requirements

...

Additional arguments