Learn R Programming

functClust (version 0.1.6)

test_posthoc: Test posthoc of variance analysis

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

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

Arguments

x

a numeric vector.

clusters

a vector of factors of length(x).

pvalue

a marginal p-value.

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.

Details

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