Learn R Programming

onewaytests (version 3.1)

summary.owt: Summary Method for One-Way Test Results

Description

Provides a concise summary of the results from an one-way test in the package.

Usage

# S3 method for owt
summary(object, detail = TRUE, ...)

Value

Prints a summary to the console.

Arguments

object

An object of class owt, typically returned by one-way tests.

detail

a logical for printing detail of the one-way tests.

...

Additional arguments.

Author

Merve Kasikci, Osman Dag

Details

This method is specifically designed for objects of class owt. It prints test method, dependent variable, grouping variable, test statistic, degrees of freedom, p-value, and any relevant notes.

Examples

Run this code
out <- onewaytests(Sepal.Length ~ Species, data = iris, method = "aov", verbose = FALSE)
summary(out)
paircomp(out)

out <- aov.test(Sepal.Length ~ Species, data = iris, verbose = FALSE)
summary(out)

Run the code above in your browser using DataLab