specificCentroidVectors: Calculate the pairwise distances and angles describing the...

specificCentroidVectorsR Documentation

Calculate the pairwise distances and angles describing the difference between centroids of paired groups

Description

Plots the posterior densities

Usage

specificCentroidVectors(centroids, do.these, upper = TRUE, do.plot = TRUE, ...)

Arguments

centroids

the list containing distance and angle matrices as returned by siberCentroids().

do.these

a character vector of the pattern used to find paired matches in the matrix of all comparisons. Usually the group names within any of the communities.

upper

a logical determining whether to plot the upper or lower triangle of angles. Defaults to TRUE which is the upper triangle and returns the angle from the second ellipse to the first by centering on the first centroid.

do.plot

a logical indicating whether plotting should be done or not. Defaults to TRUE.

...

additional arguments to pass onwards, not currently implemented.

Value

A nice plot. You can get the corresponding matrices used to generate the plots if you ask for it nicely: thedata <- plotCentroidVectors(centroids)


AndrewLJackson/SIBER documentation built on Oct. 21, 2023, 8:09 a.m.