[Rd] parApply vs parCapply

2012-03-17 Thread Ken Knoblauch
latform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] parallel stats graphics grDevices utils datasets methods [8] base Thank you. -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research In

Re: [Rd] MaxDiff Scaling

2010-03-09 Thread Ken Knoblauch
Hope that is useful. > Thanks in Advance, > > Stephen Brand Ken -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research Institute Department of Integrative Neurosciences 18 avenue du Doyen Lépine 69500 Bron France tel: +33 (0)4 72 91 34 77 fax: +33 (0)4 72 91 34 61 portable: +33 (0)6 8

[Rd] thin grid lines, again (FAQ 7.36), a proposal

2010-03-06 Thread Ken Knoblauch
0 %.2f %.2f re b\n", 72.0 * pd->width, 72.0 * pd->height); } or if the current behavior is desired under certain circumstances, perhaps an argument, StrokeandFill, could be added to the pdf device (postscript, too, I suppose) so that this behavior could be selected?

[Rd] update method for nls

2010-02-01 Thread Ken Knoblauch
t(as.name("I"), as.call(tmp))) formula } NextMethod("update", ...) } Ken -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research Institute Department of Integrative Neurosciences 18 avenue du Doyen Lépine 69500 Bron France tel: +33 (0)4 72 91 34 77 fa

Re: [Rd] lower.tail option in pnorm

2009-12-08 Thread Ken Knoblauch
<= x], otherwise, P[X > x]. Note that lower.tail is not said to be a vector, and the first value is taken (what it is is random in your example). On Tue, 8 Dec 2009, Ken Knoblauch wrote: Hi, I would have thought that these two constructions would produce the same result but they do

[Rd] lower.tail option in pnorm

2009-12-08 Thread Ken Knoblauch
ttached base packages: [1] stats graphics grDevices utils datasets methods [7] base loaded via a namespace (and not attached): [1] tools_2.10.1 Thanks for any enlightenment. best, Ken -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research Institute Department of Integrative Neuroscienc

Re: [Rd] Clarification on generic functions and methods

2009-11-11 Thread Ken Knoblauch
"...". So, the .Rd file is structured as (for testing purposes only): How about if you document the default method as well as the generic method in your man page. See ?lag for an example, and I've come across several others recently. HTH, Ken -- Ken Knoblauch Inserm U846 Stem-c

[Rd] Having rbind dispatch to a different method than data.frame with arguments inheriting from data.frame

2007-03-20 Thread Ken Knoblauch
rather than data.frame? I can imagine stripping the data.frame class before the call, but this seems awkward and I am hoping that there is a better way. Thank you. -- Ken Knoblauch Inserm U846 Institut Cellule Souche et Cerveau Département Neurosciences Intégratives 18 avenue du Doyen Lépine

[Rd] proposed pbirthday fix

2006-01-23 Thread ken knoblauch
Actually, since NaN's are also detected in na.action operations, a simpler fix might just be to use the na.rm = TRUE option of min upper <- min(n^k/(c^(k - 1)), 1, na.rm = TRUE) > Recent news articles concerning an article from The Lancet with > fabricated > data indicate > that in the sample

[Rd] proposed pbirthday fix

2006-01-22 Thread Ken Knoblauch
Recent news articles concerning an article from The Lancet with fabricated data indicate that in the sample containing some 900 or so patients, more than 200 had the same birthday. I was curious and tried out the p and q birthday functions but pbirthday could not handle 250 coincidences with n = 1

[Rd] R crashes for large formulas in lm() (PR#8180)

2005-10-05 Thread Ken Knoblauch
eir Grinde Version: 2.1.1 OS: Windows XP Submission from: (NULL) (144.127.1.1) While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of variables are at least 8. -- Ken Knoblauch Inserm U371 Cerveau et Vision Dept. of Cognitive Neuroscience 18 avenue du Doyen Lépine 69500 Bron France tel: +

[Rd] R crashes for large formulas in lm() (PR#8180)

2005-10-05 Thread Ken Knoblauch
While using lm(y~(x*z*c*...*v)^2) R crashes/closes if the numbers of variables are at least 8. -- Ken Knoblauch Inserm U371 Cerveau et Vision Dept. of Cognitive Neuroscience 18 avenue du Doyen Lépine 69500 Bron France tel: +33 (0)4 72 91 34 77 fax: +33 (0)4 72 91 34 61 portable: +33 (0)6 84 10