[Vegan-commits] r2088 - pkg/vegan/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Feb 13 13:45:06 CET 2012
Author: jarioksa
Date: 2012-02-13 13:45:06 +0100 (Mon, 13 Feb 2012)
New Revision: 2088
Modified:
pkg/vegan/R/simper.R
Log:
removed roxygen, since the link to the rd is broken
Modified: pkg/vegan/R/simper.R
===================================================================
--- pkg/vegan/R/simper.R 2012-02-13 12:45:04 UTC (rev 2087)
+++ pkg/vegan/R/simper.R 2012-02-13 12:45:06 UTC (rev 2088)
@@ -1,38 +1,3 @@
-#' Similarity Percentages
-#'
-#' Discriminating species between two groups using Bray-Curtis dissimilarities.
-#'
-#' @param comm Community data matrix
-#' @param group factor describing the group structure. Must have at least 2 levels.
-#'
-#' @section Details: simper is a function that extracts species discriminating between two groups and ranks them by their contribution. They Bray-Curtis dissimilarity between two samples is given as:
-#' d[jk] = (sum abs(x[ij]-x[ik])) / (sum (x[ij]+x[ik]))
-#'
-#' print.simper prints the species with a cumulative contribution <= 70\%
-#'
-#' summary.simper shows the whole output with additional characteristics
-#'
-#' @return
-#' A list of dataframes for every factor-combination.
-#' \item{contr}{average contribution to overall dissimilarity}
-#' \item{sd}{standard deviation of contribution}
-#' \item{contr/sd}{mean to sd ratio}
-#' \item{av_}{average abundance per group}
-#' \item{cum}{cumulative per cent contribution}
-#'
-#' @author Eduard Szöcs \email{szoe8822@@uni-landau.de}
-#' @references Clarke, K.R. 1993. Non-parametric multivariate analyses of changes incommunity structure. Austral Ecology, 18(1):117–143.
-#' @export
-#'
-#' @keywords multivariate
-#'
-#' @examples
-#' require(vegan)
-#' data(dune)
-#' data(dune.env)
-#' (sim <- simper(dune, dune.env$Management))
-#' summary(sim)
-
`simper` <-
function(comm, group)
{
More information about the Vegan-commits
mailing list