summary.tt_df {fgeo.analyze}R Documentation

Summary of tt_test() results.

Description

Summary of tt_test() results.

Usage

## S3 method for class 'tt_df'
summary(object, ...)

## S3 method for class 'tt_lst'
summary(object, ...)

Arguments

object

An object of class "tt_df" or "tt_lst".

...

Not used (included only for compatibility with summary).

Value

A tibble.

Author(s)

Adapted from code contributed by Daniel Zuleta.

See Also

tt_test(), base::summary().

Examples

assert_is_installed("fgeo.x")

tt_result <- tt_test(fgeo.x::tree6_3species, fgeo.x::habitat)

summary(tt_result)

# Same
summary(as_tibble(tt_result))

# You may want to add the explanation to the result of `tt_test()`

dplyr::left_join(as_tibble(tt_result), summary(tt_result))

# You may prefer a wide matrix
Reduce(rbind, tt_result)

# You may prefer a wide dataframe
tidyr::spread(summary(tt_result), "habitat", "association")

[Package fgeo.analyze version 1.1.14 Index]