Re: [R] Inconsistent results between caret+kernlab versions

2013-11-24 Thread Andrew Digby
Hi Max, Here's a bit more information regarding the 'memory not mapped' errors which occur in caret. 1. The segfault only occurs when knitting a Markdown file in RStudio. When the code is run 'normally' in R, everything's fine. 2. The error is very hard to replicate! It only occurs when the

Re: [R] Inconsistent results between caret+kernlab versions

2013-11-17 Thread Andrew Digby
to ensure reproducibility. 2) you really shouldn't use character stings with all numbers as factor levels with caret when you want class probabilities. It should give you a warning about this Max On Thu, Nov 14, 2013 at 7:31 PM, Andrew Digby andrewdi...@mac.com wrote: I'm using caret

Re: [R] Inconsistent results between caret+kernlab versions

2013-11-17 Thread Andrew Digby
OK, thanks. I haven't reported the memory map errors because I haven't been able to replicate them reliably: some times they occur, but some times don't, for the same code. I'll have another try, and will report if I can get more information. Thanks again. On 18/11/2013, at 14:42 , Max Kuhn

[R] Inconsistent results between caret+kernlab versions

2013-11-14 Thread Andrew Digby
I'm using caret to assess classifier performance (and it's great!). However, I've found that my results differ between R2.* and R3.* - reported accuracies are reduced dramatically. I suspect that a code change to kernlab ksvm may be responsible (see version 5.16-24 here:

Re: [R] Incorrect DST time changes in DateTimeClasses

2012-12-07 Thread Andrew Digby
. Please excuse my brevity. Andrew Digby andrewdi...@mac.com wrote: Apologies - I intended to add that info at the end: OS X 10.8.2 and R 2.15.1. Many thanks. R.Version() $platform [1] x86_64-apple-darwin9.8.0 $arch [1] x86_64 $os [1] darwin9.8.0 $system [1] x86_64, darwin9.8.0

Re: [R] Incorrect DST time changes in DateTimeClasses

2012-12-06 Thread Andrew Digby
brevity. Andrew Digby andrewdi...@mac.com wrote: Can anyone please shed any light on why R DateTimeClasses give weird times for when daylight saving time information changes, and which aren't consistent with the OS? Example: Expected result: in New Zealand DST stopped (NZDT - NZST

[R] Incorrect DST time changes in DateTimeClasses

2012-12-05 Thread Andrew Digby
Can anyone please shed any light on why R DateTimeClasses give weird times for when daylight saving time information changes, and which aren't consistent with the OS? Example: Expected result: in New Zealand DST stopped (NZDT - NZST) at 03:00 NZDT on 2010-04-04, as confirmed by the

[R] GGally diagonal axis: changing font size

2012-09-24 Thread Andrew Digby
ggpairs() from GGally is fantastic, but I'm stuck trying to change the diagonal labels and increase the size of the font in the diagonal axis plots. I thought using ggally_diagAxis(... labelSize) would work, but it doesn't appear to. I've tried the following three approaches, all of which

[R] Which R function for GLMM with binary response, nested random factors with temporal correlation?

2012-08-07 Thread Andrew Digby
Despite lots of investigation, I haven't found any R packages might be suitable for the following problem. I'd be very grateful for suggestions. I have three-way nested data, with a series of measures (obs) taken in quick succession (equal time spacing) from each subject on different days.

Re: [R] Problem with GMT+/- time zones

2012-02-02 Thread Andrew Digby
. Andrew Digby andrewdi...@mac.com wrote: I'm struggling with time zone version when expressed as hours offset from GMT. Can anyone confirm that the behaviour below is incorrect? It seems that the GMT offsets are backwards: format(as.POSIXct(2011-05-23 17:23:00, tz=Europe/London),tz=America

[R] Problem with GMT+/- time zones

2012-02-01 Thread Andrew Digby
I'm struggling with time zone version when expressed as hours offset from GMT. Can anyone confirm that the behaviour below is incorrect? It seems that the GMT offsets are backwards: format(as.POSIXct(2011-05-23 17:23:00, tz=Europe/London),tz=America/New_York,usetz=T) [1] 2011-05-23 12:23:00