[Vegan-commits] r252 - in pkg: R inst man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Mar 5 07:37:28 CET 2008


Author: jarioksa
Date: 2008-03-05 07:37:28 +0100 (Wed, 05 Mar 2008)
New Revision: 252

Modified:
   pkg/R/nestedtemp.R
   pkg/inst/ChangeLog
   pkg/man/oecosimu.Rd
Log:
tweaking

Modified: pkg/R/nestedtemp.R
===================================================================
--- pkg/R/nestedtemp.R	2008-03-04 18:09:28 UTC (rev 251)
+++ pkg/R/nestedtemp.R	2008-03-05 06:37:28 UTC (rev 252)
@@ -48,8 +48,7 @@
     fillfun <- function(x, p) 1 - (1-(1-x)^p)^(1/p)
     intfun <- function(p, fill)
         integrate(fillfun, lower=0, upper=1, p=p)$value - fill
-    getp <- function(fill) uniroot(intfun, c(0,20), fill=fill)$root
-    p <- getp(fill)
+    p <- uniroot(intfun, c(0,20), fill=fill)$root
     ## row coordinates of the fill line for all matrix entries
     out <- matrix(0, nrow=length(r), ncol=length(c))
     for (i in 1:length(r))

Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog	2008-03-04 18:09:28 UTC (rev 251)
+++ pkg/inst/ChangeLog	2008-03-05 06:37:28 UTC (rev 252)
@@ -25,7 +25,7 @@
 	4.48, Baja birds 10.16, Queen Charlotte birds 15.85. Baja is the
 	most different. Atmar & Patterson have five Baja bird data sets
 	with these test results: Bajaball 6.33, Bajabl 14.43, Bajabn
-	59.98, Bajabo 11.18, Bajabs 10.13. Smaller change is that packing
+	5.98, Bajabo 11.18, Bajabs 10.13. Smaller change is that packing
 	is based on indices s and t directly instead of their ranks.
 	
 Version 1.12-1 (closed Mar 2, 2008)

Modified: pkg/man/oecosimu.Rd
===================================================================
--- pkg/man/oecosimu.Rd	2008-03-04 18:09:28 UTC (rev 251)
+++ pkg/man/oecosimu.Rd	2008-03-05 06:37:28 UTC (rev 252)
@@ -190,9 +190,9 @@
   of insular mammalian faunas and archipelagos. \emph{Biol. J. Linnean
     Soc.} 28, 65--82.
 
-  \enc{Rodríguez-Gironés}{Rodriguez-Girones} & Santamaria (2006). A new
-  algorithm to calculate the nestedness temperature of presence-absence
-  matrices. \emph{J. Biogeogr.} 33, 924--935.
+  \enc{Rodríguez-Gironés}{Rodriguez-Girones}, M.A.  & Santamaria, L.
+  (2006). A new algorithm to calculate the nestedness temperature of
+  presence-absence matrices. \emph{J. Biogeogr.} 33, 924--935.
 
   Stone, L. & Roberts, A. (1990). The checkerboard score and species
   distributions. \emph{Oecologia} 85, 74--79.



More information about the Vegan-commits mailing list