Generates a summary of the simulation results, including per-arm and total sample sizes.

# S3 method for class 'simss'
summary(object, ...)

Arguments

object

An object of class "simss" returned by a sampleSize function.

...

Additional arguments (currently unused).

Value

A named numeric vector with the sample size per arm and the total (Total) sample size.

Examples

# Assume `res` is a result from `sampleSize()`
# summary(res)