Learn R Programming

TestDimorph (version 0.3.0)

pMatrix-deprecated: Visualization Of t-Greene Pairwise Comparisons

Description

Returns a graphical or numerical correlational matrix of p-values for the interpopulation degree of sexual dimorphism as measured by Greene t-test

Arguments

x

Tibble/data frame containing summary statistics, Default: NULL

Pop

Number of the column containing populations' names, Default: 1

plot

Logical; if TRUE graphical matrix of p-values, Default: TRUE

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided", "greater" or "less", Default: 'two.sided'

padjust

Method of p.value adjustment for multiple comparisons following p.adjust.methods, Default: 'none'

...

additional arguments that can be passed to corrplot or Tg functions.

Value

Graphical or numerical matrix of p-values from Greene t-test pairwise comparisons. N.B: contrary to the usual corrplots where higher values indicate stronger correlation, here lower values indicate significance

Details

Data is entered as a tibble/data frame of summary statistics where the column containing population names is chosen by position (first by default), other columns of summary data should have specific names (case sensitive) similar to baboon.parms_df

See Also

corrplot TestDimorph-deprecated