[Esm-commits] r38 - pkg/ESM/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Sep 21 12:01:02 CEST 2010
Author: timotheepoisot
Date: 2010-09-21 12:01:01 +0200 (Tue, 21 Sep 2010)
New Revision: 38
Removed:
pkg/ESM/man/draw.network.Rd
Modified:
pkg/ESM/man/getspe.Rd
Log:
Modifs to the doc
Deleted: pkg/ESM/man/draw.network.Rd
===================================================================
--- pkg/ESM/man/draw.network.Rd 2010-09-21 09:52:10 UTC (rev 37)
+++ pkg/ESM/man/draw.network.Rd 2010-09-21 10:01:01 UTC (rev 38)
@@ -1,25 +0,0 @@
-\name{draw.network}
-\Rdversion{1.1}
-\alias{draw.network}
-\title{Draw the interaction network}
-\description{Draw the interaction network between organisms and resources, with bolder lines for stronger interactions}
-\usage{
-draw.network(data,org.col='grey',res.col='grey',border=NA,sortorg=c(1:nrow(data)),sortres=c(1:ncol(data)),...)
-}
-
-\arguments{
-\item{data}{A matrix giving the performance of each organism on each resource, with organisms as rows}
-\item{org.col}{The color of organisms (recycled)}
-\item{res.col}{The color of resources (recycled)}
-\item{border}{The color of the ball's border}
-\item{sortorg}{A vector giving the order in which to sort the organisms (for example using \kbd{rank} and \kbd{getspe})}
-\item{sortres}{Similar to sortorg for resources}
-\item{...}{Arguments to be passed to plot}
-}
-
-\examples{
-# Read an interaction matrix
-intmat <- matrix(runif(100,0,1),ncol=10)
-# Plot
-draw.network(intmat,org.col='palegreen',sortorg=rank(getspe(intmat,lsd)))
-}
\ No newline at end of file
Modified: pkg/ESM/man/getspe.Rd
===================================================================
--- pkg/ESM/man/getspe.Rd 2010-09-21 09:52:10 UTC (rev 37)
+++ pkg/ESM/man/getspe.Rd 2010-09-21 10:01:01 UTC (rev 38)
@@ -4,12 +4,13 @@
\title{Specificity}
\description{Returns a vector containing the specificity of each organism}
\usage{
-getspe(mat,measure=pdi)
+getspe(mat,measure=pdi,...)
}
\arguments{
\item{mat}{A matrix giving the performance of each organism on each resource, with organisms as rows}
-\item{measure}{The index of specificity to use. Values can be}
+\item{measure}{The index of specificity to use. See details, defaults to \kbd{pdi}.}
+\item{...}{Additional arguments to be passed to \kbd{measure}}
}
\value{
@@ -29,5 +30,5 @@
MAT <- 'http://www.nceas.ucsb.edu/interactionweb/data/host_parasite/text_matrices/mcgregor_p.txt'
mat <- t(read.table(MAT))
# Returns host range
-getspe(mat,lsd)
+getspe(mat)
}
\ No newline at end of file
More information about the Esm-commits
mailing list