From dd5c4d823c366673286caee4d011edf6f7282c1a Mon Sep 17 00:00:00 2001 From: Mauricio Zambrano-Bigiarini <hzambran@users.noreply.github.com> Date: Tue, 27 Nov 2012 17:08:03 +0000 Subject: [PATCH] updated DESCRIPTION and vignette --- DESCRIPTION | 4 ++-- inst/vignette/hydroPSO_vignette.Rnw | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 84ff7b7..e82d11f 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: hydroPSO Type: Package Title: Model-Independent Particle Swarm Optimisation for Environmental Models -Version: 0.1-58-30 -Date: 2012-11-26 +Version: 0.1-58-31 +Date: 2012-11-27 Authors@R: c(person("Mauricio", "Zambrano-Bigiarini", email="mzb.devel@gmail.com", role=c("aut","cre")), person("Rodrigo", "Rojas", email="Rodrigo.RojasMujica@gmail.com", role=c("ctb")) ) Maintainer: Mauricio Zambrano-Bigiarini <mzb.devel@gmail.com> Description: This package implements a state-of-the-art version of the Particle Swarm Optimisation (PSO) algorithm (SPSO-2011 and SPSO-2007 capable), with a special focus on the calibration of environmental models. hydroPSO is model-independent, allowing the user to easily interface any model code with the calibration engine (PSO). It includes a series of controlling options and PSO variants to fine-tune the performance of the calibration engine to different calibration problems. An advanced sensitivity analysis function together with user-friendly plotting summaries facilitate the interpretation and assessment of the calibration results. Bugs reports/comments/questions are very welcomed. diff --git a/inst/vignette/hydroPSO_vignette.Rnw b/inst/vignette/hydroPSO_vignette.Rnw index c0be0ff..e3b01eb 100644 --- a/inst/vignette/hydroPSO_vignette.Rnw +++ b/inst/vignette/hydroPSO_vignette.Rnw @@ -1,5 +1,5 @@ -\documentclass[a4paper,12pt]{article} -%\documentclass[a4paper,12pt]{scrartcl} +%\documentclass[a4paper,12pt]{article} +\documentclass[a4paper,12pt]{scrartcl} \author{Rodrigo Rojas, PhD \\ Mauricio Zambrano-Bigiarini, PhD} @@ -501,10 +501,10 @@ n parn minn maxn \begin{enumerate} -\item Use next commands to retrieve current working directory, set a new working directory, and printing files included in the current directory, respectively. +\item In the R console, use next commands to retrieve current working directory, set a new working directory, and list the files included in the new working directory, respectively. <<eval=FALSE>>= getwd() -setwd("~/tmp") +setwd("~") list.files(".") @ @@ -709,7 +709,8 @@ From the previous results we see that the regrouping strategy allows particles e <<eval=TRUE>>= setwd("./PSO.out.rastr") -conv <- read_convergence(do.png=TRUE,png.fname="ConvergenceMeasuresRG.png") +conv <- read_convergence(do.png=TRUE, + png.fname="ConvergenceMeasuresRG.png") @ -- GitLab