[Phylobase-commits] r926 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Apr 9 22:00:10 CEST 2014
Author: francois
Date: 2014-04-09 22:00:09 +0200 (Wed, 09 Apr 2014)
New Revision: 926
Removed:
pkg/R/nData-methods.R
Log:
removing nData-methods, content transferred to phylo4d-accessors.R
Deleted: pkg/R/nData-methods.R
===================================================================
--- pkg/R/nData-methods.R 2014-04-09 19:59:11 UTC (rev 925)
+++ pkg/R/nData-methods.R 2014-04-09 20:00:09 UTC (rev 926)
@@ -1,30 +0,0 @@
-
-##' Retrieves the number of datasets in phylo4d objects
-##'
-##' Method to retrieve the number of datasets associated with a phylogenetic
-##' tree stored as a phylo4d object
-##'
-##' \code{nData} returns the number of datasets (i.e., columns) that are
-##' associated with a \code{phylo4d} object.
-##'
-##' @param x A \code{phylo4d} object
-##' @return \code{nData} returns a vector.
-##' @author Francois Michonnea
-##' @seealso \code{\link{tdata}}, \code{\link{phylo4d}}
-##' @keywords methods
-##' @export
-##' @rdname nData-methods
-##' @docType methods
-##' @examples
-##'
-##' data(geospiza)
-##' nData(geospiza)
-setGeneric("nData", function(x, ...) {
- standardGeneric("nData")
-})
-
-##' @rdname nData-methods
-##' @aliases nData,phylo4d-method
-setMethod("nData", signature(x="phylo4d"), function(x) {
- ncol(x at data)
-})
More information about the Phylobase-commits
mailing list