print.wsize {WAnova}R Documentation

Print Method for 'wsize' Objects

Description

Custom print method for objects of class 'wsize'. Displays the results of the sample size determination in a user-friendly format.

Usage

## S3 method for class 'wsize'
print(x, ...)

Arguments

x

An object of class wsize.

...

Additional arguments passed to or from other methods.

Value

Prints the sample size determination results to the console.

Examples


# Print the results from the wsize function
n <- c(10, 10, 10, 10)
means <- c(1, 0, 0, -1)
sd <- c(1, 1, 1, 1)
result <- wanova_pwr.test(n, means, sd, power = 0.90, alpha = 0.05)
print(result)



[Package WAnova version 0.4.0 Index]