BiodiversityRGUI()
same.sites
. Having the same sequence of sites is an assumption for analysis with BiodiversityR. It may be useful to use this function after making a community dataset from a stacked environmental dataset (especially as sites are ordered in an alphabetic way from the stacked dataset, which may create problems with X1, X10, X100 site names versus the X001, X010 and X100 formats; the function is also useful where some sites do not contain any species). The menu provides the following options: makecommunitydataset
. makecommunitydataset
. makecommunitydataset
. makecommunitydataset
. makecommunitydataset
. NA
(missing values) for a selected varialbe of the environmental dataset. When environmental variables have missing values, this often creates problems with biodiversity analysis. The menu provides the following options: removeNAcomm
and removeNAenv
. NA
. NA
. disttransform
.
The transformed community matrix is saved under the same name of the original dataset, and the current community dataset therefore becomes the transformed community dataset. summary
. pairs
, plots a selected continuous variable with function plot
or plots a categorical with function boxplot
. box.cox.powers
. Makes a QQ-plot (function qq.plot
), and performs a Shapiro test (function shapiro.test
) and Kolmogorov-Smirnov test (function ks.test
) of the original and transformed variable. accumresult
or accumcomp
. accumresult
or accumcomp
. accumresult
or accumcomp
. accumresult
or accumcomp
. accumcomp
will used to calculate the species accumulation curve and to plot the curve (you may need to click in the graph to show where the legend needs to be placed).
In case another value is chosen, then this will be the argument for "level" of function accumresult
. accumplot
. Option "addplot" sets "addit=T" meaning that the species accumulation curve will be added to an existing graph. Option "x limits"sets "xlim". Providing "1,10" will plot between 1 and 10. Option "y limits"sets "ylim". Providing "2,20" will plot between 2 and 20. Option "ci"sets "ci". Option "symbol"sets "pch". Option "cex"sets "cex". Option "colour" sets "col". accumresult
or accumcomp
. accumplot
. You may need to click in the graph to indicate where the legend needs to be placed. diversityresult
or diversitycomp
. diversityresult
or diversitycomp
. diversityresult
or diversitycomp
. diversitycomp
will used to calculate the species accumulation curve and to plot the curve (you may need to click in the graph to show where the legend needs to be placed).
In case another value is chosen, then this will be the argument for "level" of function diversityresult
. diversityresult
, diversitycomp
or for plotting results. Option "save results" results in adding a new variable with the diversity indices to the environmental dataset. This method only works for calculation method "separate per site" and function diversityresult
. Option "sort results" results in setting option "sortit=T" for functions diversityresult
or diversitycomp
. Option "label results" results in labeling points in the resulting graph. Option "add plot" results in adding points to an existing graph. Option "y limits" results in setting limits for the y axis. Providing "0,10" results in limits of 0 and 10 for the vertical axis. Option "symbol" sets "pch" to choose symbols as in function points
. diversityresult
or diversitycomp
. rankabundance
or rankabuncomp
. rankabuncomp
will used to calculate and plot the rank abundance curves (you may need to click in the graph to show where the legend needs to be placed).
In case another value is chosen, then this will be the argument for "level" of function rankabundance
. rankabunplot
. Option "fit RAD" fits distribution models to the observed rank-abundance distribution with function radfitresult
and plots the results. Option "add plot" sets addit=T for function rankabunplot
meaning that the rank abundance curve will be added to an existing graph. Option "x limits"sets xlim for function rankabunplot
. Providing "1,10" will plot between 1 and 10. Option "y limits"sets ylim for function rankabunplot
. Providing "2,20" will plot between 2 and 20. rankabundance
or rankabuncomp
. rankabunplot
, or fit models to rank abundance distribution. renyiresult
. Option "accumulation" results in using function renyiaccumresult
. These options are not valid when renyicomp
is invoked (see Subset options). renyiresult
, renyiaccumresult
or renyicomp
. renyiaccumresult
or renyicomp
. renyiresult
or renyicomp
. renyicomp
will used to calculate the diversity profile and to plot the curve (you may need to click in the graph to show where the legend needs to be placed). In case another value is chosen, then this will be the argument for "level" of function renyiresult
. renyiplot
. Option "evenness profile" sets "evenness=T". Option "evenness profile" sets addit=T meaning that the diversity profiles will be added to an existing graph. Option "y limits"sets ylim. Providing "2,20" will plot between 2 and 20. Option "symbol"sets pch. Option "cex"sets cex. Option "colour" sets col. renyiresult
, renyiaccumresult
or renyicomp
. renyiplot
or persp.renyiaccum
. The calculation method will determine which plot function is used. lm
. Option "Poisson model" fits GLMs with Poisson variance functions and log link functions through function glm
. Option "quasi-Poisson model" fits GLMs with quasi-Poisson variance functions and log link functions through function glm
. Option "negative binomial model" fits GLMs with negative binomial variance functions and log link functions through function glm.nb
. Option "gam model" fits GAMs with Poisson variance functions and log link functions through function gam
.. Option "gam negbinom model" fits GAMs with negative binomial variance functions and log link functions through function gam
. Option "glmmPQL" fits GLMMs with negative binomial variance functions and log link functions through function glmmPQL
. Option "rpart" fits a regression tree through function rpart
. scale
(only continuous variables are standardised, not categorical variables). summary.lm
, summary.glm
or summary.gam
. anova.lm
, anova.glm
, anova.gam
, drop1
or Anova
(latter two type-II ANOVAs only invoced for multiple regression). predict
function). plot.lm
or gam.check
to plot diagnostic plots. For regression trees, the residuals are plotted against the residuals via predict.rpart
and residuals.rpart
. Option "levene test" chooses function levene.test
and plots residuals of the selected categorical variable (shown on the right). Option "term plot" chooses functions termplot
or plot.gam
to plot a termplot of the selected categorical variable (shown on the right). Option "effect plot" chooses function effect
to plot an effect plot of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables). Option "qq plot" chooses function qq.plot
to plot the residuals from the model. Option "result plot (new)" chooses an appropriate predict
function to plot a new plot of the model predictions for the selected variable (shown on the right). Option "result plot (add)" chooses an appropriate predict
function to add a new plot of the model predictions for the selected variable (shown on the right) Option "result plot (interpolate)" chooses an appropriate predict
function to add a new plot of the model predictions for the selected variable (shown on the right). This model is predicted from a new dataset that only contains 1000 interpolated values for the selected explanatory variable. Option "cr plot" chooses function cr.plots
to plot a component + residual plots of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables). Option "av plot" chooses function av.plots
to plot added variable plots of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables and has an option of identifying sites with the mouse.) Option "influence plot" chooses function influence.plot
to plot influence plots. (The menu option of the R-Commander of models > Graphs includes the option of identifying sites with the mouse.) Option "multcomp" chooses function glht
to plot simultaneous confidence intervals of the selected categorical variable (shown on the right). Option "rpart" chooses functions plot.rpart
and text.rpart
to plot a dendrogram for the regression tree result. chisq.test
. Option "binomial model" fits GLMs with binomial variance functions and logit link functions through function glm
. Option "quasi-binomial model" fits GLMs with quasi-binomial variance functions and log link functions through function glm
. Option "gam model" fits GAMs with binomial variance functions and logit link functions through function gam
. Option "gam quasi-binomial model" fits GAMs with quasi-binomial variance functions and logit link functions through function gam
. Option "rpart" fits a regression tree through function rpart
. Option "nnet" fits a forward-feeding artificial neural network through function nnetrandom
. scale
(only continuous variables are standardised, not categorical variables). summary.glm
or summary.gam
, or use summary.rpart
or summary.nnet
anova.glm
, anova.gam
, drop1
or Anova
(latter two type-II ANOVAs only invoced for multiple regression). predict
function). plot
to plot presence-absence of the response variable against the selected categorical variable (shown on the right). Option "diagnostic plots" chooses functions plot.lm
or gam.check
to plot diagnostic plots. For regression trees and artificial neural networks, the predicted values are plotted against the original presence-absence information. Option "levene test" chooses function levene.test
and plots residuals of the selected categorical variable (shown on the right). Option "term plot" chooses functions termplot
or plot.gam
to plot a termplot of the selected categorical variable (shown on the right). Option "effect plot" chooses function effect
to plot an effect plot of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables). Option "qq plot" chooses function qq.plot
to plot the residuals from the model. Option "result plot (new)" chooses an appropriate predict
function to plot a new plot of the model predictions for the selected variable (shown on the right). Option "result plot (add)" chooses an appropriate predict
function to add a new plot of the model predictions for the selected variable (shown on the right) Option "result plot (interpolate)" chooses an appropriate predict
function to add a new plot of the model predictions for the selected variable (shown on the right). This model is predicted from a new dataset that only contains 1000 interpolated values for the selected explanatory variable. Option "cr plot" chooses function cr.plots
to plot a component + residual plots of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables.) Option "av plot" chooses function av.plots
to plot added variable plots of the selected variable (shown on the right). (The menu option of the R-Commander of models > Graphs plots all the variables and has an option of identifying sites with the mouse.) Option "influence plot" chooses function influence.plot
to plot influence plots. (The menu option of the R-Commander of models > Graphs has an option of identifying sites with the mouse.) Option "multcomp" chooses function glht
to plot simultaneous confidence intervals of the selected categorical variable (shown on the right). Option "rpart" chooses functions plot.rpart
and text.rpart
to plot a dendrogram for the regression tree result. vegdist
. rda
. Option "PCA (prcomp)" fits a Principal Components Analysis model with function prcomp
. Option "PCoA" fits a Principal Coordinates Analysis model with function cmdscale
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix). Option "PCoA (Caillez)" fits a Principal Coordinates Analysis model with function cmdscale
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix) and setting add=T. Option "CA" fits a Correspondence Analysis (Reciprocal Averaging) model with function cca
. Option "DCA" fits a Detrended Correspondence Analysis model with function decorana
. Option "metaMDS" fits a Non-metric Multidimensional Scaling model with function metaMDS
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix). Option "NMS (standard)" fits a Non-metric Multidimensional Scaling model with function NMSrandom
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix). vegdist
that calculates the distance matrix first. Passed as argument for "distance" for function metaMDS
. cmdscale
, metaMDS
or NMSrandom
. metaMDS
or argument for "perm" for function NMSrandom
. add.spec.scores
. This function adds some other information for PCoA. summary.cca
, summary.decorana
orotherwise list the model object. summary.cca
, summary.decorana
or add.spec.scores
. as.dist
) for unconstrained ordination methods that use a distance matrix as input (cmdscale
and NMSrandom
for ordination results and via ordicluster
, lines.spantree
, ordicluster2
, ordinearest
or
distdisplayed for plotting options). plot.cca
to plot results from rda
, cca
, metaMDS
or decorana
and function plot
to plot the other ordination results (obtained by function scores
). Option "ordiplot" chooses function ordiplot
to plot ordination results. Option "ordiplot empty" chooses function ordiplot
to plot ordination results, but sites and species will be invisible. Option "identify sites" chooses function identify.ordiplot
to add names of sites to site symbols (circles) created by function ordiplot
. You can choose where the name is added by left-clicking in the quadrant next to the symbol where you want to symbol to be plotted. You can stop identifying sites by right-clicking. Option "identify species" chooses function identify.ordiplot
to add names of species to species symbols (crosses) created by function ordiplot
. You can choose where the name is added by left-clicking in the quadrant next to the symbol where you want to symbol to be plotted. You can stop identifying species by right-clicking. Option "text sites" chooses function text.ordiplot
to add names of all sites to ordination diagrams created by function ordiplot
. Option "text species" chooses function text.ordiplot
to add names of all species to ordination diagrams created by function ordiplot
. Option "points sites" chooses function points.ordiplot
to add symbols for all sites to ordination diagrams created by function ordiplot
. Option "points species" chooses function points.ordiplot
to add symbols for all species to ordination diagrams created by function ordiplot
. Option "origin axes" adds a horizontal and vertical line through the origin of the ordination graph (the origin is the location with coordinates [0,0]). Option "envfit" chooses function envfit
to add information for the variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordihull" chooses function ordihull
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordiarrows" chooses function ordiarrows
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisegments" chooses function ordisegments
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordispider" chooses function ordispider
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordiellipse" chooses function ordiellipse
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisurf" chooses function ordisurf
to add information for the continuous variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordicluster" chooses function ordicluster
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix.) to ordination diagrams created by function ordiplot
. Option "ordispantree" chooses function lines.spantree
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordibubble" chooses function ordibubble
to add information for the continuous variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisymbol" chooses function ordisymbol
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Make sure that you click in the graph to show where the legend should be placed! Option "ordivector" chooses function ordivector
to add information on the selected species of the community dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. You should first make the community dataset the environmental datset to get the list of species on the right-hand side. Option "ordivector interpretation" chooses function ordivector
to add information on the selected species of the community dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. You should first make the community dataset the environmental datset to get the list of specie son the right-hand side. The function will drop down perpendicular lines from each site to the line connecting the origin and the species position. Option "ordicluster2" chooses function ordicluster2
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordinearest" chooses function ordinearest
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordiequilibriumcircle" chooses function ordiequilibriumcircle
to plot an equilibrium circle to ordination diagrams created by function ordiplot
from the Principal Components Analysis fitted by rda
. Option "distance displayed" compares the distances between each pair of sites in a distance matrix (with distance measure selected in window above) with distances in ordination diagrams created by function ordiplot
by means of function distdisplayed
. Option "screeplot.cca" provides a screeplot for PCA results obtained by function rda
by means of function screeplot.cca
. Option "stress" provides a stress plot (Shepard diagram) for NMS results obtained by function metaMDS
by means of function stressplot
. Option "coenocline" fits coenoclines for all species to the first ordination axis of ordination diagrams created by function ordiplot
by means of function ordicoeno
. plot.cca
, scores
or ordiplot
. ordiplot
graph to the environmental dataset using the model name combined with ".ax1" and ".ax2". rda
was used to fit the model, this option should also be selected when plotting the results). rda
. Option "CCA" fits a Canonical Correspondence Analysis (Reciprocal Averaging) model with function cca
. Option "capscale" fits a scaled Constrained Analysis of Principal Coordinates (distance-based Redundancy Analysis) with function capscale
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix). Option "CAPdiscrim" fits a Constrained Analysis of Principal Coordinates (based on discriminant analysis) with function CAPdiscrim
using the distance measure selected on the right-hand side (except if the community matrix is interpreted as distance matrix) and the categorical variable selected as explanatory variable. Option "prc" fits principal response curves with function prc
. To implement the example provided in the documentation for the prc
function, you need to include the additional steps of defining pyrifos.env <- data.frame(dose,week)
and making this data set the environmental data set. Option "multiconstrained (RDA)" provides the first row of all ANOVA results (anova.cca
) for all possible pairwise combinations of the levels of the first explanatory variable (assumed to be a categorical variable) through function multiconstrained
with method="rda". (When you change contrast to a particular contrast indicator, you obtain an ordination result that can be analyzed further. For several plotting options, you need to change the community and environmental datasets to "newcommunity" and "newenvdata"). Option "multiconstrained (CCA)" provides the first row of all ANOVA results (anova.cca
) for all possible pairwise combinations of the levels of the first explanatory variable (assumed to be a categorical variable) through function multiconstrained
with method="cca". (When you change contrast to a particular contrast indicator, you obtain an ordination result that can be analyzed further. For several plotting options, you need to change the community and environmental datasets to "newcommunity" and "newenvdata"). Option "multiconstrained (capscale)" provides the first row of all ANOVA results (anova.cca
) for all possible pairwise combinations of the levels of the first explanatory variable (assumed to be a categorical variable) through function multiconstrained
with method="capscale". (When you change contrast to a particular contrast indicator, you obtain an ordination result that can be analyzed further. For several plotting options, you need to change the community and environmental datasets to "newcommunity" and "newenvdata"). capscale
or CAPdiscrim
. This argument is ignored by the actual functions if the community dataset is interpreted to be a distance matrix already. summary.cca
or summary.prc
,or otherwise list the model object (CAPdiscrim
). as.dist
) for constrained ordination methods that can use a distance matrix as input (capscale
or CAPdiscrim
for ordination results and via ordicluster
, lines.spantree
, ordicluster2
, ordinearest
or distdisplayed
for plotting options). CAPdiscrim
.
Passed as argument for "scaling" for function summary.cca
or summary.prc
. permutest.cca
, CAPdiscrim
or envfit
(one of the plotting options) or as argument for "step" for function anova.cca
(which is also called by multiconstrained
). CAPdiscrim
and prc
. For function prc
, the explanatory variables should be separated by a comma and indicate the "treatment" and "time" factors. plot.cca
to plot results from rda
, cca
or capscale
, function plot.prc
to plot results from prc
and function plot
to plot the other ordination results (obtained by function scores
). Option "ordiplot" chooses function ordiplot
to plot ordination results. Option "ordiplot empty" chooses function ordiplot
to plot ordination results, but sites and species will be invisible. Option "identify sites" chooses function identify.ordiplot
to add names of sites to site symbols (circles) created by function ordiplot
. You can choose where the name is added by left-clicking in the quadrant next to the symbol where you want to symbol to be plotted. You can stop identifying sites by right-clicking. Option "identify species" chooses function identify.ordiplot
to add names of species to species symbols (crosses) created by function ordiplot
. You can choose where the name is added by left-clicking in the quadrant next to the symbol where you want to symbol to be plotted. You can stop identifying species by right-clicking. Option "identify centroids" chooses function identify.ordiplot
to add names of centroids to centroid symbols (X) created by function ordiplot
. You can choose where the name is added by left-clicking in the quadrant next to the symbol where you want to symbol to be plotted. You can stop identifying species by right-clicking. Option "text sites" chooses function text.ordiplot
to add names of all sites to ordination diagrams created by function ordiplot
. Option "text species" chooses function text.ordiplot
to add names of all species to ordination diagrams created by function ordiplot
. Option "text centroids" chooses function text.ordiplot
to add names of all centroids to ordination diagrams created by function ordiplot
. Option "points sites" chooses function points.ordiplot
to add symbols for all sites to ordination diagrams created by function ordiplot
. Option "points species" chooses function points.ordiplot
to add symbols for all species to ordination diagrams created by function ordiplot
. Option "points centroids" chooses function points.ordiplot
to add symbols for all centroids to ordination diagrams created by function ordiplot
. Option "origin axes" adds a horizontal and vertical line through the origin of the ordination graph (the origin is the location with coordinates [0,0]). Option "envfit" chooses function envfit
to add information for the variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordihull" chooses function ordihull
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordiarrows" chooses function ordiarrows
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisegments" chooses function ordisegments
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordispider" chooses function ordispider
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordiellipse" chooses function ordiellipse
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisurf" chooses function ordisurf
to add information for the continuous variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordicluster" chooses function ordicluster
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordispantree" chooses function lines.spantree
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordibubble" chooses function ordibubble
to add information for the continuous variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Option "ordisymbol" chooses function ordisymbol
to add information for the categorical variable of the environmental dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. Make sure that you click in the graph to show where the legend should be placed! Option "ordivector" chooses function ordivector
to add information on the selected species of the community dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. You should first make the community dataset the environmental datset to get the list of species on the right-hand side. Option "ordivector interpretation" chooses function ordivector
to add information on the selected species of the community dataset selected on the right-hand side to ordination diagrams created by function ordiplot
. You should first make the community dataset the environmental datset to get the list of specie son the right-hand side. The function will drop down perpendicular lines from each site to the line connecting the origin and the species position. Option "ordicluster2" chooses function ordicluster2
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "ordinearest" chooses function ordinearest
to add information (with distance measure selected in window above - except if the community matrix is interpreted as distance matrix) to ordination diagrams created by function ordiplot
. Option "distance displayed" compares the distances between each pair of sites in a distance matrix (with distance measure selected in window above) with distances in ordination diagrams created by function ordiplot
by means of function distdisplayed
. Option "coenocline" fits coenoclines for all species to the first ordination axis of ordination diagrams created by function ordiplot
by means of function ordicoeno
. plot.cca
, scores
or ordiplot
. ordiplot
graph to the environmental dataset using the model name combined with ".ax1" and ".ax2". rda
was used to fit the model, this option should also be selected when plotting the results). hclust
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. Option "agnes" results in a cluster analysis fitted by function agnes
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. Option "diana" results in a cluster analysis fitted by function diana
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. Option "kmeans" results in a cluster analysis fitted by function kmeans
. This method is based on the Euclidean distance. Option "cascadeKM" results in a cluster analysis fitted by function cascadeKM
. This method is based on the Euclidean distance as it is based on K-means clustering. Option "pam" results in a cluster analysis fitted by function pam
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. Option "clara" results in a cluster analysis fitted by function clara
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. Option "fanny" results in a cluster analysis fitted by function fanny
. The distance for the distance matrix derived from the community dataset is selected on the right-hand side. vegdist
. as.dist
). This option is not available for kmeans
). summary.agnes
, summary.diana
, summary.pam
, summary.clara
or summary.fanny
or provide results of hclust
or kmeans
cophenetic
) by the Mantel test (mantel
). It only works for hierarchical clustering methods (hclust
, agnes
and diana
). kmeans
and argument for "k" for functions pam
, clara
and fanny
. This number selects the number of groups for the partition with the largest number of groups of the cascade as it is passed as argument for "sup.gr" for function cascadeKM
(the argument for "inf.gr" is set to "2"). This number selects the number of clusters to be reported for cluster membership for hierarchical clustering methods (hclust
, agnes
and diana
) as determined by function cutree
: passed as argument for "k" for this function. This number selects the number of rectangles to be plotted on a dendrogram with plotting option of "rectangles": passed as argument for "k" for function rect.hclust
. This number selects the number of clusters to be plotted with plotting option of "pruned dendrogram": passed as argument for "k" for function clip.clust
. hclust
, agnes
and diana
) as determined by function cutree
, with parameter "k" obtained from the box above. hclust
. Options "average", "single", "complete", "ward" and "weighted" can be passed meaningfully as argument for "method" for agnes
. plot.hclust
, plot.agnes
or plot.diana
to plot clustering results. Option "dendrogram2" selects function plot.hclust
, plot.agnes
or plot.diana
to plot clustering results with argument hang set to -1. This option will result in each branch of the dendrogram to reach "ground level". Option "rectangles" selects function rect.hclust
to plot rectangles around the number of cluster determined by option "clusters" selected above. Option "pruned dendrogram" selects function clip.clust
to prune the cluster to the number of cluster selected by option "clusters" selected above. This option may only work with cluster results obtained by plot.hclust
. Option "kgs" selects function kgs
as one method of selecting the optimal number of clusters and plots its results. Option "cophenetic" uses function cophenetic
to the distance in the dendrogram against the distance of the distance matrix (calculated earlier for the clustering algorithm). A reference line (y=x) is added to the graph. Option "cascadeKM" selects function plot.cascadeKM
to plot resuls obtained by function cascadeKM
. hclust
, agnes
and diana
). mantel
. The distance for distance matrix derived from the community dataset is selected below, the distance to be derived from the environmental dataset is selected on the right-hand side. Option "anosim" results in a ANOSIM test estimated by function anosim
as summarized by summary.anosim
. The distance measure for the distance matrix derived from the community dataset is selected below, the categorical variable of the environmental dataset is selected at the right-hand side. Option "mrpp" results in a MRPP test estimated by function mrpp
. The distance measure for the distance matrix derived from the community dataset is selected below, the categorical variable of the environmental dataset is selected at the right-hand side. Option "rankindex" results in a series of Mantel tests with a series of distance measures selected by function rankindex
for the community dataset and the Euclidean distance for the environmental dataset (except for datasets that contain factors where daisy
is used). daisy
to be used for providing the distance matrix. This is the only realistic method for environmental datasets that contain categorical variables. The other options are passed as arguments for "method" for function vegdist
. vegdist
. For the "rankindex" type of test, a series of distance measures are tested automatically. daisy
distance is used automatically. For test option "anosim", the selected environmental variable is passed as argument for "grouping" for function anosim
. For test option "mrpp", the selected environmental variable is passed as argument for "grouping" for function mrpp
. For test option "rankindex", when "all" is selected, then the environmental dataset is passed as argument for "grad" for function rankindex
. For test option "rankindex", the selected variable is passed as argument for "grad" for function rankindex
. as.dist
). daisy
distance; for ordered factors, it is recommended to create a new factor that is unordered and use this variable for the analysis; see factor
). mantel
, anosim
and mrpp
. mantel
. as.dist
prior to further analysis).
BiodiversityR provides the following menu options (each described below in greater detail):