[Depmix-commits] r502 - in pkg/depmixS4: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Nov 2 15:28:56 CET 2011


Author: ingmarvisser
Date: 2011-11-02 15:28:53 +0100 (Wed, 02 Nov 2011)
New Revision: 502

Modified:
   pkg/depmixS4/DESCRIPTION
   pkg/depmixS4/NEWS
   pkg/depmixS4/R/allGenerics.R
Log:
Various minor changes for compatibility with R 2.14.0

Modified: pkg/depmixS4/DESCRIPTION
===================================================================
--- pkg/depmixS4/DESCRIPTION	2011-11-01 13:21:04 UTC (rev 501)
+++ pkg/depmixS4/DESCRIPTION	2011-11-02 14:28:53 UTC (rev 502)
@@ -5,7 +5,7 @@
 Author: Ingmar Visser <i.visser at uva.nl>, Maarten Speekenbrink <m.speekenbrink at ucl.ac.uk>
 Maintainer: Ingmar Visser <i.visser at uva.nl>
 Depends: R (>= 2.13.1), stats, nnet, methods, MASS, Rsolnp, stats4
-Suggests: Rdonlp2, gamlss, gamlss.dist
+Suggests: Rdonlp2, gamlss, gamlss.dist, TTR
 Description: Fit latent (hidden) Markov models on mixed categorical and continuous (timeseries)
    data, otherwise known as dependent mixture models
 License: GPL (>=2)

Modified: pkg/depmixS4/NEWS
===================================================================
--- pkg/depmixS4/NEWS	2011-11-01 13:21:04 UTC (rev 501)
+++ pkg/depmixS4/NEWS	2011-11-02 14:28:53 UTC (rev 502)
@@ -8,13 +8,34 @@
     this results in a 2-4 fold speed increase when fitting models.
 
   o The Changes for each release (in the NEWS file) is now split into two 
-    sections: Major and Minor changes
+    sections: Major and Minor changes.
 
+  o Added several examples on the ?responses page (Poisson change point
+    model, similar model with a single multinomial response) and the 
+    ?depmix page (model for S&P 500 returns; thanks to Chen Haibo for
+    sending this). 
+
   Minor changes
   
   o Corrected a typo in the vignette in Equation 1; the first occurrence 
-    of S read S_t instead of S_1 (thanks to Peng Yu for reporting this). 
+    of S read S_t instead of S_1 (thanks to Peng Yu for reporting this).
 
+  o Added a sensible error message when the data contains missings (depmixS4 
+    can not handle missing data yet). 
+
+  o Fixed a bug in the relative stopping criterion for EM (which resulted 
+    in immediate indication of convergence for positive log likelihoods; 
+    thanks to Chen Haibo for sending the S&P 500 example which brought out
+    this problem).
+
+  o Function forwardbackward now has a useC argument to determine whether 
+    C code is used, the default, or not (the R code is mostly left in place
+    for easy debugging). 
+   
+  o Added a fix for models without covariates/intercepts. In responseGLM 
+    and responseMVN the function setpars now exits when length(value) == 0. 
+    In setpars.depmix, a check is added whether npar > 0.
+
 Changes in depmixS4 version 1.0-4
 
   o Added examples of the use of ntimes argument on ?depmix and ?fit 

Modified: pkg/depmixS4/R/allGenerics.R
===================================================================
--- pkg/depmixS4/R/allGenerics.R	2011-11-01 13:21:04 UTC (rev 501)
+++ pkg/depmixS4/R/allGenerics.R	2011-11-02 14:28:53 UTC (rev 502)
@@ -7,12 +7,6 @@
 # version of forward backward routine
 
 .onLoad <- function(lib, pkg) { 
-	require(stats)
-	require(methods)
-	require(MASS)
- 	require(nnet)
-	require(Rsolnp)
-	require(stats4)	
 	library.dynam("depmixS4", pkg, lib)
 }
 



More information about the depmix-commits mailing list