For computing the functional dendogram
Arguments
- fwdata
list
A list from thefw_fetchdata
function is the only data type accepted.- method
string
Clustering method, including ward, average, and complete- k
integer
Determine the number of cluster the user wants to output after data clustering. The default is 4.- plot
logical
EitherTRUE
to show the plot of functional dendogram. Defualt isFALSE
.
Examples
if (FALSE) { # \dontrun{
fishtraits <- fw_fetchdata(data = speciesdata,
ecoparams = c('rheophily habitat', 'spawning habitat',
'feeding diet adult'),
taxonomic_column = 'scientificName',
organismgroup = 'fi')
head(fdendoclust, 3)
table(fdendoclust$cluster)
} # }