print.VanValen {smsets}R Documentation

Prints van Valen's test

Description

Displays the results of van Valen's test produced by the VanValen function and, optionally, the matrices involved in the calculations.

Usage

## S3 method for class 'VanValen'
print(x, long = FALSE, ...)

Arguments

x

an object of class VanValen.

long

a logical variable indicating whether a long output is desired (TRUE) or not (FALSE, the default)

...

further arguments passed to or from other methods.

Value

Displays the results of van Valen's test produced by the VanValen function. The argument x, invisibly, as for all print methods, is a list of class "VanValen". This print method provides two sorts of output depending on whether the long argument is TRUE or FALSE (the default). The "short" output displays:

In addition to the above information, the "long" output lists:

Examples

data(sparrows)
res.VanValen <- VanValen(sparrows, "Survivorship", "S",
                         alternative = "less", var.equal = TRUE)
# Long output
print(res.VanValen, long = TRUE)


[Package smsets version 1.2.3 Index]