test_posthoc: Test posthoc of variance analysis

Description Usage Arguments Details Value

Description

Proceed to a variance analysis of the vector of data x associated with the vector of factors clusters, and 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.

Usage

1
test_posthoc(x, clusters, pvalue = 0.05)

Arguments

x

a numeric vector.

clusters

a vector of factors of same length as x.

pvalue

a marginal p-value.

Details

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.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.