Description Usage Arguments Details Value Examples
Plot function for fuzzy indices with clustergram.
1 | FuzzyIndice.plot.matlines(Z, k.range, x.range, z.range)
|
Z |
Fuzzy indices matrix. |
k.range |
x axis breaks. |
x.range |
x axis range. |
z.range |
y axis range for the fuzzy indices. |
This function provide the tools to add a fuzzy indices evolution plot together with the normal clustegram plot with the evolution of the relative positions of the cluster centers.
A plot with the evolution of the fuzzy indices given the number of fuzzy clusters that were applied to the data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ####### Example data:
SyntheticTrial <- SyntheticData(SpeciesNum = 100,
CommunityNum = 3, SpCo = NULL,
Length = 500,
Parameters = list(a=c(40, 80, 50),
b=c(100,250,400),
c=rep(0.03,3)),
dev.c = .015, pal = c("#008585", "#FBF2C4", "#C7522B"))
######## clustergram plots with fuzzy indices plots:
clustergramInd(as.matrix(SyntheticTrial[,2:ncol(SyntheticTrial)]),
clustering.function = clustergram.vegclust.Ind,
clustergram.plot = clustergram.plot.matlines,
FuzzyIndice.plot = FuzzyIndice.plot.matlines,
k.range = 2:10, line.width = .2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.