Functions for studying similarities (or dissimilarities) within respeciate data sets
rsp_distance_profile
calculates the statistical distance
between respeciate profiles, and clusters profiles according to nearness.
rsp_distance_profile(rsp, output = c("plot", "report"))
A respeciate
object, a data.frame
of respeciate
profiles.
Character vector, required function output: 'report'
the
calculated distance matrix; 'plot'
a heat map of that distance
matrix.
Depending on the output
option, sp_distance_profile
returns
one or more of the following: the correlation matrix, a heat map of the
correlation matrix.
Please note: function in development; structure and arguments may be subject to change.