[Dream-commits] r27 - in pkg: . R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 12 06:50:28 CEST 2010


Author: felix
Date: 2010-05-12 06:50:28 +0200 (Wed, 12 May 2010)
New Revision: 27

Added:
   pkg/inst/
   pkg/inst/CITATION
Modified:
   pkg/R/coef.dream.R
Log:
tentative CITATION

Modified: pkg/R/coef.dream.R
===================================================================
--- pkg/R/coef.dream.R	2010-05-12 04:44:34 UTC (rev 26)
+++ pkg/R/coef.dream.R	2010-05-12 04:50:28 UTC (rev 27)
@@ -5,7 +5,8 @@
 ##' @param method. either a function or one of uni.mode,mean,median,sample.ml
 ##' @return named vector of parameter values
 coef.dream <- function(object,last.prop=.5,use.thinned=FALSE,
-                       method=c("uni.mode","mean","median","sample.ml"),...){
+                       method=c("uni.mode","mean","median","sample.ml"),...)
+{
 
   stopifnot(last.prop>0)
   

Added: pkg/inst/CITATION
===================================================================
--- pkg/inst/CITATION	                        (rev 0)
+++ pkg/inst/CITATION	2010-05-12 04:50:28 UTC (rev 27)
@@ -0,0 +1,45 @@
+
+citEntry(header = "To cite the DREAM algorithm use:",
+         entry="Article",
+         title = paste("Accelerating Markov chain Monte Carlo",
+                       "simulation by differential evolution with", 
+                       "self-adaptive randomized subspace sampling."),
+         author = personList(as.person("J A Vrugt"),
+	                     person("C", "J F", last = "ter Braak"),
+                             as.person("C G H Diks"),
+                             as.person("B A Robinson"),
+                             as.person("J M Hyman"),
+                             as.person("D Higdon")),
+         journal      = "International Journal of Nonlinear Sciences and Numerical Simulation",
+         year         = "2009",
+	 volume       = "10",
+	 number       = "3",
+	 pages        = "273--290",
+         
+         textVersion = 
+         paste(
+  "Vrugt, J. A., ter Braak, C. J. F., Diks, C. G. H., Robinson, B. A.,",
+  "Hyman, J. M. and Higdon, D. (2009). Accelerating Markov chain Monte Carlo",
+  "simulation by differential evolution with self-adaptive randomized",
+  "subspace sampling. International Journal of Nonlinear Sciences",
+  "and Numerical Simulation, 10(3), 273-290.")
+)
+
+meta <- packageDescription("dream")
+year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
+vers <- paste("R package version", meta$Version)
+
+citEntry(header = "To cite the 'dream' package use:",
+         entry = "Manual",
+	 title = "dream: DiffeRential Evolution Adaptive Metropolis",
+	 author = personList(as.person("Joseph Guillaume"),
+                             as.person("Felix Andrews")),
+         year = year,
+	 note = vers,
+	 url = "http://CRAN.R-project.org/package=dream",
+	 textVersion =
+         paste("Joseph Guillaume and Felix Andrews (", year,"). ",
+               "dream: DiffeRential Evolution Adaptive Metropolis. ", 
+               vers, ". ",
+               "URL http://CRAN.R-project.org/package=dream", sep="")
+)



More information about the Dream-commits mailing list