Learn R Programming

Superpower (version 0.1.0)

sim_result-methods: Methods for sim_result objects

Description

Methods defined for objects returned from the ANOVA_exact, ANOVA_exact2, and ANOVA_power functions.

Usage

# S3 method for sim_result
print(x, ...)

# S3 method for sim_result plot(x, ...)

Arguments

x

object of class sim_result as returned from one of the simulation functions in Superpower

...

further arguments passed through, see description of return value for details. ANOVA_design.

Value

print

Prints short summary of the simulation result

plot

Returns meansplot or a plot of the distribution of p-values depending on whether an exact or Monte Carlo simulation was performed