[Analogue-commits] r226 - in pkg: R man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Aug 23 10:44:33 CEST 2011
Author: gsimpson
Date: 2011-08-23 10:44:33 +0200 (Tue, 23 Aug 2011)
New Revision: 226
Modified:
pkg/R/tolerance.R
pkg/man/optima.Rd
Log:
fix the S3 method defs for tolerance() as the generic is now in vegan
Modified: pkg/R/tolerance.R
===================================================================
--- pkg/R/tolerance.R 2011-08-23 08:43:33 UTC (rev 225)
+++ pkg/R/tolerance.R 2011-08-23 08:44:33 UTC (rev 226)
@@ -1,7 +1,7 @@
## User function to compute weighted average tolerances for taxa
-`tolerance` <- function(x, ...)
- UseMethod("tolerance")
+## `tolerance` <- function(x, ...)
+## UseMethod("tolerance")
`tolerance.default` <- function(x, env, useN2 = TRUE, ...) {
x <- data.matrix(x)
Modified: pkg/man/optima.Rd
===================================================================
--- pkg/man/optima.Rd 2011-08-23 08:43:33 UTC (rev 225)
+++ pkg/man/optima.Rd 2011-08-23 08:44:33 UTC (rev 226)
@@ -2,7 +2,6 @@
\alias{optima}
\alias{optima.default}
\alias{print.optima}
-\alias{tolerance}
\alias{print.tolerance}
\alias{tolerance.default}
\alias{as.data.frame.optima}
@@ -18,8 +17,6 @@
\method{optima}{default}(x, env, ...)
-tolerance(x, ...)
-
\method{tolerance}{default}(x, env, useN2 = TRUE, ...)
}
%- maybe also 'usage' for other objects documented here.
More information about the Analogue-commits
mailing list