[Rd] Initial covariance matrix in StructTS

2015-03-16 Thread Helske, Jouni
Dear all, The definition of the initial covariance matrix P in StructTS function seems to be defined in a somewhat non-standard way without any references. Usually that matrix is defined as a diagonal matrix in case of structural time series models, but StructTS defines this as a singular matri

[Rd] CRAN check fails on Solaris, any hints why?

2015-02-10 Thread Helske, Jouni
Dear all, I recently uploaded a new package Rlibeemd to CRAN (http://cran.r-project.org/web/packages/Rlibeemd/index.html, and in github: https://github.com/helske/Rlibeemd), and simple example in help files seems to throw an error on Solaris: Version: 1.3.1 Check: examples Result: ERROR Ru

[Rd] unique(1:3,nmax=1) freezes R

2013-10-30 Thread Helske Jouni
Dear all, I was playing around with factor contrasts, and found the argument nmax on function factor. When using nmax=1, R froze completely, and I had to close it from task manager. After some debugging, I found that the problem is actually in unique-function, where the internal unique function

[Rd] terms.formula(y ~ (x + fn(z = NA)) - fn(z = NA), simplify=TRUE) does not simplify

2013-04-02 Thread Helske Jouni
Dear all, I'm trying to use update.formula for removing a function in formula, but when the function has argument set as NA, this doesn't seem to work. I was able to track the issue to terms.formula function (.Internal(terms.formula(..))), but couldn't figure out anything useful from correspond