FuzzyIndice.plot.matlines {EcotoneFinder}R Documentation

Plot function for fuzzy indices with clustergram.

Description

Plot function for fuzzy indices with clustergram.

Usage

FuzzyIndice.plot.matlines(Z, k.range, x.range, z.range)

Arguments

Z

Fuzzy indices matrix.

k.range

x axis breaks.

x.range

x axis range.

z.range

y axis range for the fuzzy indices.

Details

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.

Value

A plot with the evolution of the fuzzy indices given the number of fuzzy clusters that were applied to the data.

Examples


####### 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)
 


[Package EcotoneFinder version 0.2.3 Index]