Skip to content

Commit

Permalink
edit documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
soniamitchell committed Jan 5, 2019
1 parent 535dbba commit 76c1636
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Expand Up @@ -36,6 +36,7 @@ exportClasses(powermean)
exportClasses(rdiv)
exportClasses(relativeentropy)
exportClasses(similarity)
exportMethods(distance)
exportMethods(inddiv)
exportMethods(metacommunity)
exportMethods(metadiv)
Expand Down
1 change: 0 additions & 1 deletion R/dist2sim.R
Expand Up @@ -29,7 +29,6 @@ dist2sim <- function(dist,
normalise = TRUE,
max_d) {


# If a distance matrix is available, convert it into a similarity matrix
if(length(dist@distance) != 0) {

Expand Down
4 changes: 4 additions & 0 deletions R/distance.R
Expand Up @@ -8,6 +8,10 @@
#'
#' @return \code{distance()} returns an object of class \code{distance}.
#'
#' @name distance
#' @rdname distance-methods
#' @exportMethod distance
#'
setGeneric(name = "distance",
def = function(distance, datID) {
standardGeneric("distance")
Expand Down
24 changes: 24 additions & 0 deletions man/distance-methods.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions man/distance.Rd

This file was deleted.

0 comments on commit 76c1636

Please sign in to comment.