[Vegan-commits] r1980 - pkg/vegan/inst/doc www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 1 20:26:53 CET 2011


Author: jarioksa
Date: 2011-11-01 20:26:52 +0100 (Tue, 01 Nov 2011)
New Revision: 1980

Modified:
   pkg/vegan/inst/doc/FAQ-vegan.texi
   www/FAQ-vegan.html
Log:
define @pkg{} macro and expand some examples

Modified: pkg/vegan/inst/doc/FAQ-vegan.texi
===================================================================
--- pkg/vegan/inst/doc/FAQ-vegan.texi	2011-11-01 14:33:55 UTC (rev 1979)
+++ pkg/vegan/inst/doc/FAQ-vegan.texi	2011-11-01 19:26:52 UTC (rev 1980)
@@ -1,7 +1,12 @@
 \input texinfo
+
+ at macro pkg {p}
+ at strong{\p\}
+ at end macro
+
 @c %**start of header
- at setfilename FAQ-vegan.info
- at settitle vegan FAQ
+ at setfilename FAQ- at pkg{vegan}.info
+ at settitle @pkg{vegan} FAQ
 @setchapternewpage on
 @set FAQ_YEAR 2011
 @afourpaper
@@ -10,7 +15,7 @@
 @copying
 @ifnottex
 This document contains answers to some of the most frequently asked
-questions about R package vegan. 
+questions about R package @pkg{vegan}. 
 This is version of $Date$.
 @end ifnottex
 
@@ -27,14 +32,14 @@
 
 @dircategory Programming
 @direntry
-* R vegan FAQ: (FAQ-vegan).             FAQ for R package vegan.
+* R @pkg{vegan} FAQ: (FAQ- at pkg{vegan}).             FAQ for R package @pkg{vegan}.
 @end direntry
 
 @finalout
 
 @titlepage
- at title vegan @acronym{FAQ}
- at subtitle Frequently Asked Questions on R package vegan
+ at title @pkg{vegan} @acronym{FAQ}
+ at subtitle Frequently Asked Questions on R package @pkg{vegan}
 @subtitle Version of $Date$ 
 @author Jari Oksanen
 
@@ -49,7 +54,7 @@
 
 @ifnottex
 @node Top, Introduction, (dir), (dir)
- at top vegan FAQ
+ at top @pkg{vegan} FAQ
 @insertcopying
 @end ifnottex
 
@@ -66,35 +71,35 @@
 @chapter Introduction
 
 @menu
-* What is vegan?::              
+* What is @pkg{vegan}?::              
 * What is R?::                  
-* How to obtain vegan and R?::  
-* What R packages vegan depends on?::  
+* How to obtain @pkg{vegan} and R?::  
+* What R packages @pkg{vegan} depends on?::  
 * What other packages are available for ecologists?::  
-* What other documentation is available for vegan?::  
-* Is there a Graphical User Interface (GUI) for vegan?::  
-* How to cite vegan?::          
-* Version numbering in vegan::  
-* How to build vegan from sources?::  
+* What other documentation is available for @pkg{vegan}?::  
+* Is there a Graphical User Interface (GUI) for @pkg{vegan}?::  
+* How to cite @pkg{vegan}?::          
+* Version numbering in @pkg{vegan}::  
+* How to build @pkg{vegan} from sources?::  
 * Are there binaries for devel versions?::  
-* How to report a bug in vegan?::  
+* How to report a bug in @pkg{vegan}?::  
 * Is it a bug or a feature?::   
-* Can I contribute to vegan?::  
+* Can I contribute to @pkg{vegan}?::  
 @end menu
 
- at node What is vegan?, What is R?, Introduction, Introduction
- at section What is vegan?
+ at node What is @pkg{vegan}?, What is R?, Introduction, Introduction
+ at section What is @pkg{vegan}?
 
-Vegan is an R package for community ecologists. It contains the most
+ at pkg{Vegan} is an R package for community ecologists. It contains the most
 popular methods of multivariate analysis needed in analysing ecological
 communities, and tools for diversity analysis, and other potentially
-useful functions.  Vegan is not self-contained but it must be run under
+useful functions.  @pkg{Vegan} is not self-contained but it must be run under
 R statistical environment, and it also depends on many other R
-packages. Vegan is @uref{http://www.gnu.org/philosophy/free-sw.html, free
+packages. @pkg{Vegan} is @uref{http://www.gnu.org/philosophy/free-sw.html, free
 software} and distributed under
 @uref{http://www.gnu.org/licenses/gpl.html, ,GPL2 license}.
 
- at node What is R?, How to obtain vegan and R?, What is vegan?, Introduction
+ at node What is R?, How to obtain @pkg{vegan} and R?, What is @pkg{vegan}?, Introduction
 @section What is R?
 
 R is a system for statistical computation and graphics.  It consists of
@@ -109,70 +114,76 @@
 official part of the @uref{http://www.gnu.org/, @acronym{GNU}} project
 (``@acronym{GNU} S'').
 
- at node How to obtain vegan and R?, What R packages vegan depends on?, What is R?, Introduction
- at section How to obtain vegan and R?
+ at node How to obtain @pkg{vegan} and R?, What R packages @pkg{vegan} depends on?, What is R?, Introduction
+ at section How to obtain @pkg{vegan} and R?
 
-Both R and latest release version of vegan can be obtained through
+Both R and latest release version of @pkg{vegan} can be obtained through
 @uref{http://cran.r-project.org,,CRAN}. Unstable development version of
-vegan can be obtained through
+ at pkg{vegan} can be obtained through
 @uref{http://r-forge.r-project.org/projects/vegan/,,R-Forge}.
 
 
 
- at node What R packages vegan depends on?, What other packages are available for ecologists?, How to obtain vegan and R?, Introduction
- at section What R packages vegan depends on?
+ at node What R packages @pkg{vegan} depends on?, What other packages are available for ecologists?, How to obtain @pkg{vegan} and R?, Introduction
+ at section What R packages @pkg{vegan} depends on?
 
-Some vegan functions depend on packages @code{MASS}, @code{mgcv},
- at code{cluster} and @code{lattice}.  These all are recommended standard
-R packages that should be available in every R installation.  In
-addition, some vegan functions @code{require} non-standard R packages.
-Vegan declares these packages only as suggested ones, and you can install vegan
-and use most of its functions without these packages.  The
-non-standard packages needed by some vegan functions are:
+ at pkg{Vegan} depends on the @pkg{permute} package which will provide
+advanced and flexible permutation routines for vegan (but currently only
+a small part of functions use @pkg{permute}). The @pkg{permute} package
+is developed together with @pkg{vegan} in
+ at uref{http://vegan.r-forge.r-project.org/,,R-Forge}. 
+
+Some individual @pkg{vegan} functions depend on packages @pkg{MASS},
+ at pkg{mgcv}, @pkg{cluster}, @pkg{lattice} and @pkg{tcltk}.  These all are
+base or recommended R packages that should be available in every R
+installation.  In addition, some @pkg{vegan} functions @code{require}
+non-standard R packages.  @pkg{Vegan} declares these packages only as
+suggested ones, and you can install @pkg{vegan} and use most of its
+functions without these packages.  The non-standard packages needed by
+some @pkg{vegan} functions are:
 @itemize
 
- at item Package @code{scatterplot3d}
+ at item Package @pkg{scatterplot3d}
 is needed by @code{ordiplot3d}
 
- at item Package @code{rgl}
+ at item Package @pkg{rgl}
 is needed by @code{ordirgl}
 and @code{rgl.isomap}
 
 @end itemize
 
- at node What other packages are available for ecologists?, What other documentation is available for vegan?, What R packages vegan depends on?, Introduction
+ at node What other packages are available for ecologists?, What other documentation is available for @pkg{vegan}?, What R packages @pkg{vegan} depends on?, Introduction
 @section What other packages are available for ecologists?
 
 @acronym{CRAN} @uref{http://cran.r-project.org/src/contrib/Views/,,Task
 Views} include entries like @code{Environmetrics}, @code{Multivariate}
-and @code{Spatial} that describe several useful packages and
-functions.  If you install R package @code{ctv}, you can
-inspect Task Views from your R session, and automatically install sets
-of most important packages.
+and @code{Spatial} that describe several useful packages and functions.
+If you install R package @pkg{ctv}, you can inspect Task Views from your
+R session, and automatically install sets of most important packages.
 
- at node What other documentation is available for vegan?, Is there a Graphical User Interface (GUI) for vegan?, What other packages are available for ecologists?, Introduction
- at section What other documentation is available for vegan?
+ at node What other documentation is available for @pkg{vegan}?, Is there a Graphical User Interface (GUI) for @pkg{vegan}?, What other packages are available for ecologists?, Introduction
+ at section What other documentation is available for @pkg{vegan}?
 
-Vegan is a fully documented R package with standard help pages.  These
+ at pkg{Vegan} is a fully documented R package with standard help pages.  These
 are the most authoritative sources of documentation (and as a last
-resource you can use the force and the read the source, as vegan is open
-source).  Vegan package ships with other documents which can be read
-with @code{vegandocs} command (documented in the vegan help).  The
-documents included in the vegan package are
+resource you can use the force and the read the source, as @pkg{vegan} is open
+source).  @pkg{Vegan} package ships with other documents which can be read
+with @code{vegandocs} command (documented in the @pkg{vegan} help).  The
+documents included in the @pkg{vegan} package are
 @itemize
 @item
-Vegan @code{NEWS}
+ at pkg{Vegan} @code{NEWS}
 @item 
-Vegan @code{ChangeLog}.
+ at pkg{Vegan} @code{ChangeLog}.
 @item
 This document (@code{FAQ-vegan.pdf}).
 @item
-Short introduction to basic ordination methods in vegan
+Short introduction to basic ordination methods in @pkg{vegan}
 (@code{intro-vegan.pdf}).
 @item
-Introduction to diversity methods in vegan (@code{diversity-vegan.pdf}).
+Introduction to diversity methods in @pkg{vegan} (@code{diversity-vegan.pdf}).
 @item 
-Discussion on design decisions in vegan (@code{decision-vegan.pdf}).
+Discussion on design decisions in @pkg{vegan} (@code{decision-vegan.pdf}).
 @item
 Description of variance partition procedures in function
 @code{varpart} (@code{partitioning.pdf}).
@@ -183,58 +194,58 @@
 @itemize
 
 @item
- at uref{http://vegan.r-forge.r-project.org/}: vegan homepage.
+ at uref{http://vegan.r-forge.r-project.org/}: @pkg{vegan} homepage.
 @item
- at uref{http://cc.oulu.fi/~jarioksa/opetus/metodi/vegantutor.pdf}: vegan
+ at uref{http://cc.oulu.fi/~jarioksa/opetus/metodi/vegantutor.pdf}: @pkg{vegan}
 tutorial.
 
 @end itemize
 
- at node Is there a Graphical User Interface (GUI) for vegan?, How to cite vegan?, What other documentation is available for vegan?, Introduction
- at section Is there a Graphical User Interface (GUI) for vegan?
+ at node Is there a Graphical User Interface (GUI) for @pkg{vegan}?, How to cite @pkg{vegan}?, What other documentation is available for @pkg{vegan}?, Introduction
+ at section Is there a Graphical User Interface (GUI) for @pkg{vegan}?
 
-Roeland Kindt has made package @code{BiodiversityR} which provides a
-GUI for vegan. The package is available at 
+Roeland Kindt has made package @pkg{BiodiversityR} which provides a
+GUI for @pkg{vegan}. The package is available at 
 @uref{http://cran.r-project.org/src/contrib/Descriptions/BiodiversityR.html,,CRAN}.
-It is not a mere GUI for vegan, but adds some new functions and
-complements vegan functions in order to provide a 
-workbench for biodiversity analysis. You can install @code{BiodiversityR} using
+It is not a mere GUI for @pkg{vegan}, but adds some new functions and
+complements @pkg{vegan} functions in order to provide a 
+workbench for biodiversity analysis. You can install @pkg{BiodiversityR} using
 @code{install.packages("BiodiversityR")} or graphical package
 management menu in R. The GUI works on Windows, MacOS X and Linux.
 
- at node How to cite vegan?, Version numbering in vegan, Is there a Graphical User Interface (GUI) for vegan?, Introduction
- at section How to cite vegan? 
+ at node How to cite @pkg{vegan}?, Version numbering in @pkg{vegan}, Is there a Graphical User Interface (GUI) for @pkg{vegan}?, Introduction
+ at section How to cite @pkg{vegan}? 
 
 Use command @code{citation("vegan")} in R to see the recommended
 citation to be used in publications. 
 
- at node Version numbering in vegan, How to build vegan from sources?, How to cite vegan?, Introduction
- at section Version numbering in vegan
+ at node Version numbering in @pkg{vegan}, How to build @pkg{vegan} from sources?, How to cite @pkg{vegan}?, Introduction
+ at section Version numbering in @pkg{vegan}
 
-From version 1.10-0, vegan is developed at
+From version 1.10-0, @pkg{vegan} is developed at
 @uref{http://r-forge.r-project.org/projects/vegan/,,R-Forge} and there
 is a general progression of version numbers mixed with stable (at
 @uref{http://cran.r-project.org,,CRAN}) and devel versions (at 
 @uref{http://r-forge.r-project.org/projects/vegan/,,R-Forge}). 
 
-Vegan version numbers are of type x.y-z, where number y is odd for
+ at pkg{Vegan} version numbers are of type x.y-z, where number y is odd for
 stable release versions at @uref{http://cran.r-project.org,,CRAN} and
 even for unstable release versions at
 @uref{http://r-forge.r-project.org/projects/vegan,,R-Forge}.
 
- at node How to build vegan from sources?, Are there binaries for devel versions?, Version numbering in vegan, Introduction
- at section How to build vegan from sources?
+ at node How to build @pkg{vegan} from sources?, Are there binaries for devel versions?, Version numbering in @pkg{vegan}, Introduction
+ at section How to build @pkg{vegan} from sources?
 
-In general, you do not need to build vegan from sources, but binary
+In general, you do not need to build @pkg{vegan} from sources, but binary
 builds of release versions are available through
 @uref{http://cran.r-project.org/,,CRAN} for Windows and MacOS X.  If you
 use some other operating systems, you may have to use source packages.
-Vegan is a standard R package, and can be built like instructed in R
-documentation.  Vegan contains source files in C and @acronym{FORTRAN},
+ at pkg{Vegan} is a standard R package, and can be built like instructed in R
+documentation.  @pkg{Vegan} contains source files in C and @acronym{FORTRAN},
 and you need appropriate compilers (which may need more work in Windows
 and MacOS X).
 
- at node Are there binaries for devel versions?, How to report a bug in vegan?, How to build vegan from sources?, Introduction
+ at node Are there binaries for devel versions?, How to report a bug in @pkg{vegan}?, How to build @pkg{vegan} from sources?, Introduction
 @section Are there binaries for devel versions?
 
 @uref{http://r-forge.r-project.org/projects/vegan/,,R-Forge} runs daily
@@ -245,27 +256,27 @@
 If you use GUI menu entry, you must select or define the R-Forge
 repository. 
 
- at node How to report a bug in vegan?, Is it a bug or a feature?, Are there binaries for devel versions?, Introduction
- at section How to report a bug in vegan?
+ at node How to report a bug in @pkg{vegan}?, Is it a bug or a feature?, Are there binaries for devel versions?, Introduction
+ at section How to report a bug in @pkg{vegan}?
 
-If you think you have found a bug in vegan, you should report it to
-vegan maintainers or developers.  The bug report should be so detailed
+If you think you have found a bug in @pkg{vegan}, you should report it to
+ at pkg{vegan} maintainers or developers.  The bug report should be so detailed
 that the bug can be replicated and corrected.  Preferably, you should
 send an example that causes a bug.  If it needs a data set that is not
 available in R, you should send a minimal data set as well. You also
 should paste the output or error message in your message.  You also
-should specify which version of vegan you used.
+should specify which version of @pkg{vegan} you used.
 
-Bug reports are welcome: they are the only way to make vegan non-buggy.
+Bug reports are welcome: they are the only way to make @pkg{vegan} non-buggy.
 
 Please note that you shall not send bug reports to R mailing lists,
-since vegan is not a standard R package.
+since @pkg{vegan} is not a standard R package.
 
 There also is a bug reporting tool at
 @uref{http://r-forge.r-project.org/projects/vegan/,,R-Forge}, but you
 need to register as a site user to report bugs (this is site policy).
 
- at node Is it a bug or a feature?, Can I contribute to vegan?, How to report a bug in vegan?, Introduction
+ at node Is it a bug or a feature?, Can I contribute to @pkg{vegan}?, How to report a bug in @pkg{vegan}?, Introduction
 @section Is it a bug or a feature?
 
 It is not necessarily a bug if some function gives different
@@ -277,11 +288,11 @@
 indices (when this is possible). If you expect it to calculate a
 binary index, you should use argument @code{binary = TRUE}.
 
- at node Can I contribute to vegan?,  , Is it a bug or a feature?, Introduction
- at section Can I contribute to vegan?
+ at node Can I contribute to @pkg{vegan}?,  , Is it a bug or a feature?, Introduction
+ at section Can I contribute to @pkg{vegan}?
 
-Vegan is dependent on user contribution.  All feedback is welcome.  If
-you have problem with vegan, it may be as simple as incomplete
+ at pkg{Vegan} is dependent on user contribution.  All feedback is welcome.  If
+you have problem with @pkg{vegan}, it may be as simple as incomplete
 documentation, and we'll do our best to improve the documents.
 
 Feature requests also are welcome, but they are not necessarily
@@ -290,17 +301,17 @@
 
 Contributed code and functions are welcome and more certain to be
 included than mere requests.  However, not all functions will be added,
-but I they must be suitable for vegan.  We also audit the code, and
-typically we edit the code in vegan style for easier maintenance.  All
+but I they must be suitable for @pkg{vegan}.  We also audit the code, and
+typically we edit the code in @pkg{vegan} style for easier maintenance.  All
 included contributions will be credited.  
 
 @node Ordination, Other analysis methods , Introduction, Top
 @chapter Ordination
 
 @menu
-* I have only numeric and positive data but vegan still complaints::  
+* I have only numeric and positive data but @pkg{vegan} still complaints::  
 * Can you analyse binary or cover class data?::  
-* Why dissimilarities in vegan differ from other sources?::  
+* Why dissimilarities in @pkg{vegan} differ from other sources?::  
 * Why NMDS stress is sometimes 0.1 and sometimes 10?::  
 * Zero dissimilarities in isoMDS::  
 * How the RDA results are scaled?::  
@@ -312,16 +323,16 @@
 * I want to use Helmert or sum contrasts::  
 * What are aliased variables and how to see them?::  
 * Plotting aliased variables::  
-* Constrained permutations in vegan::  
+* Constrained permutations in @pkg{vegan}::  
 * How to use different plotting symbols in ordination graphics?::  
 * How to avoid cluttered ordination graphs?::  
 * Can I flip an axis in ordination diagram?::  
 * Can I zoom into an ordination plot?::  
 @end menu
 
- at node  I have only numeric and positive data but vegan still complaints, Can you analyse binary or cover class data?, Ordination, Ordination
+ at node  I have only numeric and positive data but @pkg{vegan} still complaints, Can you analyse binary or cover class data?, Ordination, Ordination
 @comment  node-name,  next,  previous,  up
- at section I have only numeric and positive data but vegan still complaints
+ at section I have only numeric and positive data but @pkg{vegan} still complaints
 
 You are wrong! Computers are painfully pedantic, and if they find
 non-numeric or negative data entries, you really have them. Check your
@@ -332,36 +343,36 @@
 the data). Another common reason is that you had empty cells in your
 input data, and these were interpreted as missing values.
 
- at node Can you analyse binary or cover class data?, Why dissimilarities in vegan differ from other sources?, I have only numeric and positive data but vegan still complaints, Ordination
+ at node Can you analyse binary or cover class data?, Why dissimilarities in @pkg{vegan} differ from other sources?, I have only numeric and positive data but @pkg{vegan} still complaints, Ordination
 @section Can you analyse binary or cover class data?
 
-Yes. Most vegan methods can handle binary data or cover abundance data.
+Yes. Most @pkg{vegan} methods can handle binary data or cover abundance data.
 Most statistical tests are based on permutation, and do not make
 distributional assumptions.  There are some methods (mainly in diversity
 analysis) that need count data.  These methods check that input data are
 integers, but they may be fooled by cover class data.
 
- at node Why dissimilarities in vegan differ from other sources?, Why NMDS stress is sometimes 0.1 and sometimes 10?, Can you analyse binary or cover class data?, Ordination
- at section Why dissimilarities in vegan differ from other sources?
+ at node Why dissimilarities in @pkg{vegan} differ from other sources?, Why NMDS stress is sometimes 0.1 and sometimes 10?, Can you analyse binary or cover class data?, Ordination
+ at section Why dissimilarities in @pkg{vegan} differ from other sources?
 
 Most commonly the reason is that other software use presence--absence
-data whereas vegan used quantitative data.  Usually vegan indices are
+data whereas @pkg{vegan} used quantitative data.  Usually @pkg{vegan} indices are
 quantitative, but you can use argument @code{binary = TRUE} to make them
 presence--absence.  However, the index name is the same in both cases,
 although different names usually occur in literature.  For instance,
-Jaccard index actually refers to the binary index, but vegan uses
+Jaccard index actually refers to the binary index, but @pkg{vegan} uses
 name @code{"jaccard"} for the quantitative index, too.
 
 Another reason may be that indices indeed are defined differently,
 because people use same names for different indices.
 
- at node Why NMDS stress is sometimes 0.1 and sometimes 10?, Zero dissimilarities in isoMDS, Why dissimilarities in vegan differ from other sources?, Ordination
+ at node Why NMDS stress is sometimes 0.1 and sometimes 10?, Zero dissimilarities in isoMDS, Why dissimilarities in @pkg{vegan} differ from other sources?, Ordination
 @section Why @acronym{NMDS} stress is sometimes 0.1 and sometimes 10?
 
 Stress is a proportional measure of badness of fit. The proportions can
 be expressed either as parts of one or as percents.  Function
- at code{isoMDS} (MASS package) uses percents, and function @code{monoMDS}
-(vegan package) uses proprotions, and therefore the same stress is 100
+ at code{isoMDS} (@pkg{MASS} package) uses percents, and function @code{monoMDS}
+(@pkg{vegan} package) uses proportions, and therefore the same stress is 100
 times higher in @code{isoMDS}. The results of @code{goodness} function
 also depend on the definition of stress, and the same @code{goodness} is
 100 times higher in @code{isoMDS} than in @code{monoMDS}.  Both of these
@@ -373,7 +384,7 @@
 Function @code{metaMDS} uses function @code{monoMDS} as its default
 method for @acronym{NMDS}, and this function can handle zero
 dissimilarities. The alternative function @code{isoMDS} was the only
-choice before vegan 2.0-0, and it cannot handle zero dissimilarities. If
+choice before @pkg{vegan} 2.0-0, and it cannot handle zero dissimilarities. If
 you want to use @code{isoMDS}, you can use argument @code{zerodist =
 "add"} in @code{metaMDS} to handle zero dissimilarities.  With this
 argument, zero dissimilarities are replaced with a small above zero
@@ -392,23 +403,24 @@
 software packages. The scaling of @acronym{RDA} is such a complicated
 issue that it cannot be explained in this @acronym{FAQ}, but it is
 explained in a separate @acronym{pdf} document on ``Design decision and
-implementation details in vegan'' that you can read with
-vegan command @code{vegandocs("decision")}.
+implementation details in @pkg{vegan}'' that you can read with
+ at pkg{vegan} command @code{@pkg{vegan}docs("decision")}.
 
 @node cca fails with ``data.frame expected'' or ``"site.env" missing'', Variance explained by ordination axes, How the RDA results are scaled?, Ordination
 @section cca fails with ``data.frame expected'' or ``"site.env" missing''
 
-This is not a vegan error message, but it comes from the @code{cca}
-function in the ade4 package. There is an unfortunate name clash, and if
-you have loaded ade4 after vegan, the ade4 version of @code{cca} will
-mask the vegan version. You can use the vegan version using command
- at code{vegan:cca()}. If you do not need package ade4, you can detach it
-with command @code{detach(package:ade4)}. 
+This is not a @pkg{vegan} error message, but it comes from the
+ at code{cca} function in the @pkg{ade4} package. There is an unfortunate
+name clash, and if you have loaded @pkg{ade4} after @pkg{vegan}, the
+ade4 version of @code{cca} will mask the @pkg{vegan} version. You can
+use the @pkg{vegan} version using command @code{vegan::cca()}. If you do
+not need package @pkg{ade4}, you can detach it with command
+ at code{detach(package:ade4)}.
 
 @node Variance explained by ordination axes, Is it possible to have passive points in ordination?, cca fails with ``data.frame expected'' or ``"site.env" missing'', Ordination
 @section Variance explained by ordination axes.
 
-In general, vegan does not directly give any statistics on the
+In general, @pkg{vegan} does not directly give any statistics on the
 ``variance explained'' by ordination axes or by the constrained axes.
 This is a design decision: I think this information is normally useless
 and often misleading.  In community ordination, the goal typically is
@@ -467,13 +479,13 @@
 @node Is it possible to have passive points in ordination?, Class variables and dummies, Variance explained by ordination axes, Ordination
 @section Is it possible to have passive points in ordination?
 
-Vegan does not have a concept of passive points, or a point that should
+ at pkg{Vegan} does not have a concept of passive points, or a point that should
 only little influence the ordination results. However, you can add
 points to eigenvector methods using @code{predict} functions with
 @code{newdata}.  You can first perform an ordination without some
 species or sites, and then you can find scores for all points using your
 complete data as @code{newdata}.  The @code{predict} functions are
-available for basic eigenvector methods in vegan (@code{cca},
+available for basic eigenvector methods in @pkg{vegan} (@code{cca},
 @code{rda}, @code{decorana}, for an up-to-date list, use command
 @code{methods("predict")}). You also can simulate the passive points in
 R by using low weights to row and columns (this is the method used in
@@ -484,12 +496,12 @@
 @node Class variables and dummies, How are environmental arrows scaled?, Is it possible to have passive points in ordination?, Ordination
 @section Class variables and dummies
 
-You should define a class variable as an R @code{factor}, and vegan will
+You should define a class variable as an R @code{factor}, and @pkg{vegan} will
 automatically handle them with formula interface.  You also can define
 constrained ordination without formula interface, but then you must
 code your class variables by hand.
 
-R (and vegan) knows both unordered and ordered factors.  Unordered
+R (and @pkg{vegan}) knows both unordered and ordered factors.  Unordered
 factors are internally coded as dummy variables, but one redundant
 level is removed or aliased.  With default contrasts, the removed
 level is the first one.  Ordered factors are expressed as polynomial
@@ -517,10 +529,20 @@
 currently used @code{arrow.mul} which is saved as an attribute of
 @code{biplot} scores. 
 
+An unexported function @code{ordiArrowMul} is used to find the scaling
+for the current plot. You can use this function to see how arrows would
+be scaled:
+ at example
+sol <- cca(varespec)
+ef <- envfit(sol ~ ., varechem)
+plot(sol)
+vegan:::ordiArrowMul(scores(ef, display="vectors"))
+ at end example
+
 @node I want to use Helmert or sum contrasts, What are aliased variables and how to see them?, How are environmental arrows scaled?, Ordination
 @section I want to use Helmert or sum contrasts
 
- at code{vegan} uses standard R utilities for defining
+ at code{@pkg{vegan}} uses standard R utilities for defining
 contrasts. The default in standard installations is to use treatment
 contrasts, but you can change the behaviour globally setting
 @code{options} or locally by using keyword @code{contrasts}. Please
@@ -531,14 +553,14 @@
 
 Aliased variable has no information because it can be expressed with
 the help of other variables.  Such variables are automatically removed
-in constrained ordination in vegan.  The aliased variables can be
+in constrained ordination in @pkg{vegan}.  The aliased variables can be
 redundant levels of factors or whole variables.
 
-Vegan function @code{alias} gives the defining equations for aliased
+ at pkg{Vegan} function @code{alias} gives the defining equations for aliased
 variables.  If you only want to see the names of aliased variables or
 levels in solution @code{sol}, use @code{alias(sol, names.only=TRUE)}.
 
- at node Plotting aliased variables, Constrained permutations in vegan, What are aliased variables and how to see them?, Ordination
+ at node Plotting aliased variables, Constrained permutations in @pkg{vegan}, What are aliased variables and how to see them?, Ordination
 @section Plotting aliased variables
 
 You can fit vectors or class centroids for aliased variables using
@@ -546,21 +568,22 @@
 fitting, and the fitted vectors are identical to the vectors in
 correspondence analysis.
 
- at node Constrained permutations in vegan, How to use different plotting symbols in ordination graphics?, Plotting aliased variables, Ordination
- at section Constrained permutations in vegan
+ at node Constrained permutations in @pkg{vegan}, How to use different plotting symbols in ordination graphics?, Plotting aliased variables, Ordination
+ at section Constrained permutations in @pkg{vegan}
 
 You can constrain your permutations within @code{strata} or levels of
-factors. You can use stratified permutations in all @code{vegan}
+factors. You can use stratified permutations in all @pkg{vegan}
 functions that use permutation, such as @code{adonis}, @code{anosim},
 @code{anova.cca}, @code{mantel}, @code{mrpp}, @code{envfit} and
 @code{protest}.
 
-Vegan will move to use permute package in all its permutation tests, but
-currently this package is only used in @code{permutest.betadisper}. The
-permute package will allow restricted permutation designs for time
-series, line transects, spatial grids and blocking factors.
+ at pkg{Vegan} will move to use @pkg{permute} package in all its
+permutation tests, but currently this package is only used in
+ at code{permutest.betadisper}. The @pkg{permute} package will allow
+restricted permutation designs for time series, line transects, spatial
+grids and blocking factors.
 
- at node How to use different plotting symbols in ordination graphics?, How to avoid cluttered ordination graphs?, Constrained permutations in vegan, Ordination
+ at node How to use different plotting symbols in ordination graphics?, How to avoid cluttered ordination graphs?, Constrained permutations in @pkg{vegan}, Ordination
 @section How to use different plotting symbols in ordination graphics?
 
 The default ordination @code{plot} function is intended for fast
@@ -631,9 +654,9 @@
 @comment  node-name,  next,  previous,  up 
 @section Can I flip an axis in ordination diagram?
 
-Use @code{xlim} or @code{ylim} flipped limits. If you have model
- at code{mod <- cca(dune)} you can flip the first axis with 
- at code{plot(mod, xlim = c(3, -2))}.
+Use @code{xlim} or @code{ylim} with flipped limits. If you have model
+ at code{mod <- cca(dune)} you can flip the first axis with @code{plot(mod,
+xlim = c(3, -2))}.
 
 @node  Can I zoom into an ordination plot?,  , Can I flip an axis in ordination diagram?, Ordination
 @comment  node-name,  next,  previous,  up
@@ -661,8 +684,8 @@
 @node Is there TWINSPAN?, Why strata do not influence adonis results?, Other analysis methods , Other analysis methods
 @section Is there TWINSPAN?
 
-No.  It may be possible to port @acronym{TWINSPAN} to vegan, but it is
-not among the vegan top priorities.  If anybody wants to try porting, I
+No.  It may be possible to port @acronym{TWINSPAN} to @pkg{vegan}, but it is
+not among the @pkg{vegan} top priorities.  If anybody wants to try porting, I
 will be happy to help.  @acronym{TWINSPAN} has a very permissive
 license, and it would be completely legal to port the function into R.
 
@@ -678,7 +701,7 @@
 @node How is deviance calculated?,  , Why strata do not influence adonis results?, Other analysis methods
 @section How is deviance calculated?
 
-Some vegan functions, such as @code{radfit} use base R facility of
+Some @pkg{vegan} functions, such as @code{radfit} use base R facility of
 @code{family} in maximum likelihood estimation.  This allows use of
 several alternative error distributions, among them @code{"poisson"}
 and @code{"gaussian"}. The R @code{family} also defines the

Modified: www/FAQ-vegan.html
===================================================================
--- www/FAQ-vegan.html	2011-11-01 14:33:55 UTC (rev 1979)
+++ www/FAQ-vegan.html	2011-11-01 19:26:52 UTC (rev 1980)
@@ -2,7 +2,7 @@
 <html>
 <!--This document contains answers to some of the most frequently asked
 questions about R package vegan. 
-This is version of $Date: 2011-10-31 18:58:22 +0200 (Mon, 31 Oct 2011) $.
+This is version of $Date: 2011-10-31 20:23:01 +0200 (Mon, 31 Oct 2011) $.
 
 
 This work is licensed under the Creative Commons Attribution 3.0
@@ -14,7 +14,7 @@
 Copyright C 2008-2011 Jari Oksanen
 
 -->
-<!-- Created on October, 31 2011 by texi2html 1.70 -->
+<!-- Created on November, 1 2011 by texi2html 1.70 -->
 <!--
 Written by: Lionel Cons <Lionel.Cons at cern.ch> (original author)
             Karl Berry  <karl at freefriends.org>
@@ -61,10 +61,10 @@
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<h1 class="settitle">vegan FAQ</h1>
[TRUNCATED]

To get the complete diff run:
    svnlook diff /svnroot/vegan -r 1980


More information about the Vegan-commits mailing list