[Picante-commits] r30 - / pkg/R pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Feb 26 20:47:23 CET 2008


Author: skembel
Date: 2008-02-26 20:47:23 +0100 (Tue, 26 Feb 2008)
New Revision: 30

Removed:
   pkg/R/stack.phylocom.R
   pkg/man/stack.phylocom.Rd
Modified:
   TODO
Log:
Delete unused stack function

Modified: TODO
===================================================================
--- TODO	2008-02-26 19:45:48 UTC (rev 29)
+++ TODO	2008-02-26 19:47:23 UTC (rev 30)
@@ -13,4 +13,3 @@
 -implement contrib index and similar
 -qr on comdist as option
 -fix .Rd files to pass CMD CHECK (etc.)
--stack.phylocom() appears to R to be a stack() generic, do we change the name? (yes!)

Deleted: pkg/R/stack.phylocom.R
===================================================================
--- pkg/R/stack.phylocom.R	2008-02-26 19:45:48 UTC (rev 29)
+++ pkg/R/stack.phylocom.R	2008-02-26 19:47:23 UTC (rev 30)
@@ -1,8 +0,0 @@
-`phylocom.stack` <-
-function(z) {
-	temp <- data.frame(expand.grid(dimnames(z))[1:2], as.vector(as.matrix(z)))
-	temp <- temp[(temp[, 3] > 0) & !is.na(temp[, 3]), ]
-	temp <- temp[sort.list(temp[, 1]), ]
-	data.frame(plot=temp[, 1], abund=temp[, 3], id=temp[, 2])
-}
-

Deleted: pkg/man/stack.phylocom.Rd
===================================================================
--- pkg/man/stack.phylocom.Rd	2008-02-26 19:45:48 UTC (rev 29)
+++ pkg/man/stack.phylocom.Rd	2008-02-26 19:47:23 UTC (rev 30)
@@ -1,17 +0,0 @@
-\name{phylocom.stack}
-\alias{phylocom.stack}
-
-\title{ Stack a database-format community data frame into a community data matrix }
-\description{
-  Stack a database-format community data frame into a community data matrix. Mostly utility function for converting Phylocom sample format data frames into community data matrices.
-}
-\usage{
-phylocom.stack(z)
-}
-%- maybe also 'usage' for other objects documented here.
-\arguments{
-  \item{z}{ Phylocom format sample data frame }
-}
-
-\author{ Cam Webb <cwebb at oeb.harvard.edu> }
-\keyword{manip}



More information about the Picante-commits mailing list