print.wsize {WAnova} | R Documentation |
Custom print method for objects of class 'wsize'. Displays the results of the sample size determination in a user-friendly format.
## S3 method for class 'wsize'
print(x, ...)
x |
An object of class |
... |
Additional arguments passed to or from other methods. |
Prints the sample size determination results to the console.
# 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)