[adegenet-commits] r719 - in pkg: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 23 16:53:04 CET 2010


Author: jombart
Date: 2010-11-23 16:53:03 +0100 (Tue, 23 Nov 2010)
New Revision: 719

Modified:
   pkg/R/dapc.R
   pkg/man/dapc.Rd
Log:
Debugged the doc.


Modified: pkg/R/dapc.R
===================================================================
--- pkg/R/dapc.R	2010-11-23 15:27:59 UTC (rev 718)
+++ pkg/R/dapc.R	2010-11-23 15:53:03 UTC (rev 719)
@@ -266,7 +266,7 @@
 ##############
 ## scatter.dapc
 ##############
-scatter.dapc <- function(x, xax=1, yax=2, col=rainbow(length(levels(x$grp))), pch=20, cex=1, posi="bottomleft", bg="grey", ratio=0.3,
+scatter.dapc <- function(x, xax=1, yax=2, col=rainbow(length(levels(x$grp))), pch=20, posi="bottomleft", bg="grey", ratio=0.3,
                          cstar = 1, cellipse = 1.5, axesell = TRUE, label = levels(x$grp), clabel = 1, xlim = NULL, ylim = NULL,
                          grid = TRUE, addaxes = TRUE, origin = c(0,0), include.origin = TRUE, sub = "", csub = 1, possub = "bottomleft", cgrid = 1,
                          pixmap = NULL, contour = NULL, area = NULL, ...){

Modified: pkg/man/dapc.Rd
===================================================================
--- pkg/man/dapc.Rd	2010-11-23 15:27:59 UTC (rev 718)
+++ pkg/man/dapc.Rd	2010-11-23 15:53:03 UTC (rev 719)
@@ -53,7 +53,7 @@
 \method{summary}{dapc}(object, \dots)
 
 \method{scatter}{dapc}(x, xax=1, yax=2, col=rainbow(length(levels(x$grp))), pch=20,
-                         cex=1, posi="bottomleft", bg="grey", ratio=0.3, cstar = 1,
+                         posi="bottomleft", bg="grey", ratio=0.3, cstar = 1,
                          cellipse = 1.5, axesell = TRUE, label = levels(x$grp),
                          clabel = 1, xlim = NULL, ylim = NULL, grid = TRUE, addaxes =
                          TRUE, origin = c(0,0), include.origin = TRUE, sub = "", csub
@@ -105,7 +105,7 @@
   should be shown in x and y axes. }
 \item{col}{a suitable color to be used for groups. The specified vector
 should match the number of groups, not the number of individuals.}
-\item{posi,bg,ratio,csub}{arguments used to customize the inset in scatterplots
+\item{posi,bg,ratio}{arguments used to customize the inset in scatterplots
   of DAPC results. See \code{\link[ade4]{add.scatter}} documentation in the
   ade4 package for
   more details.}
@@ -124,7 +124,7 @@
   ignored, and this object will be used as a prior step for variable
   orthogonalisation.}
 \item{cstar,cellipse,axesell,label,clabel,xlim,ylim,grid,addaxes,origin,include.origin,sub,csub,possub,cgrid,pixmap,contour,area}{arguments
-passed to \code{\link{s.class}}; see \code{?s.class} for more informations}
+passed to \code{\link[ade4]{s.class}}; see \code{?s.class} for more informations}
 }
 \details{
   The Discriminant Analysis of Principal Components (DAPC) is designed



More information about the adegenet-commits mailing list