test_posthoc: Test posthoc of variance analysis

Description Usage Arguments Details Value

View source: R/stats.R

Description

Proceed to a variance analysis of the vector of data x associated with the vector of factors clusters. It returns a data.frame containing the name of the groups motif, the group size number, the group mean mean and standard deviation sd, and the two-to-two differences expressed in the form of letters group.

Usage

1
test_posthoc(x, clusters, pvalue = fpvalue())

Arguments

x

a numeric vector.

clusters

a vector of factors of length(x).

pvalue

a marginal p-value.

Details

The function test_posthoc() uses Tukey method. Different groups are sorted by decreasing means. Letter rank increases with decreasing means.

Value

Return a data.frame containing the name of the groups motif, the group size number, the group mean mean and standard deviation sd, and the two-to-two differences expressed in the form of letters group.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.