[Rd] Derivative of model formula

2010-04-19 Thread Dimitris Rizopoulos
s problem or is there another more optimal solution -- I'd like to obtain a solution as generalizable as possible. Thanks in advance. Best, Dimitris -- Dimitris Rizopoulos Assistant Professor Department of Biostatistics Erasmus University Medical Center Address:

Re: [Rd] ave returns wrong data type (PR#13664)

2009-04-20 Thread Dimitris Rizopoulos
"15" "15" "15" "15" "15" "15" "15" "15" [25] "15" "15" "15" "15" "15" "15" Even though the length() function returns a vector of integers, ave() inappropri

Re: [Rd] [R] Semantics of sequences in R

2009-02-24 Thread Dimitris Rizopoulos
e captured this? I think you should have a check for every feature following from the docs", If this is not "telling others that they should write such test", then what is? Cheers, Berwin __ R-devel@r-project.org mailing list ht

[Rd] optim() example in relist() help page

2009-01-19 Thread Dimitris Rizopoulos
le Best, Dimitris p.s., > R.Version() $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1] "i386, mingw32" $status [1] "" $major [1] "2" $minor [1] "8.1" $year [1] "2008" $month [1] "

Re: [Rd] resampling from string when it runs across multiple lines

2008-03-24 Thread Dimitris Rizopoulos
info regarding the different R-mailing-lists. Dimitris Rizopoulos Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.stu

Re: [Rd] pnorm

2008-02-07 Thread Dimitris Rizopoulos
you should use the 'lower.tail' argument of pnorm(), e.g., check the following: 2 * (1 - pnorm(8.104474)) 2 * pnorm(8.104474, lower.tail = FALSE) I hope it helps. Best, Dimitris ---- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University

Re: [Rd] Bootstrapping stepAIC() with glm.nb()

2007-02-23 Thread Dimitris Rizopoulos
- Original Message - From: "Prof Brian Ripley" <[EMAIL PROTECTED]> To: "Dimitris Rizopoulos" <[EMAIL PROTECTED]> Cc: Sent: Friday, February 23, 2007 1:40 PM Subject: Re: [Rd] Bootstrapping stepAIC() with glm.nb() > You did not say what the problem

[Rd] Bootstrapping stepAIC() with glm.nb()

2007-02-23 Thread Dimitris Rizopoulos
the following problem occurs: quine.nb <- glm.nb(Days ~ .^4, data = quine) fn(quine.nb, data = quine) Any hints to overcome this are greatly appreciated. Thanks in advance, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven

Re: [Rd] problem with function 'optimise' (PR#9438)

2007-01-04 Thread Dimitris Rizopoulos
. I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/

Re: [Rd] Retrieving function name

2006-11-09 Thread Dimitris Rizopoulos
probably you're looking for: f <- function(FUN, x){ list(funName = deparse(substitute(FUN)), value = FUN(x)) } f(mean, rnorm(10)) f(median, rnorm(10)) I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic Un

Re: [Rd] BUG in " == " ? (PR#9065)

2006-07-07 Thread Dimitris Rizopoulos
qual() do a vectorised version of all.equal() would be > useful, > returning a vector of TRUE/FALSE for each comparison. Maybe this > already > exists somewhere? > > E.g.: > > v.all.equal <- function(x, y) { > apply(as.matrix(x), 1, function(x, y) { >

Re: [Rd] possible bug: NULL equality in lists.

2006-03-07 Thread Dimitris Rizopoulos
I think it'd be more appropriate to use: sapply(a, "==", "NULL") or sapply(a, "==", "NA") for this case. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: K

[Rd] '...' passed to both plot() and legend()

2006-03-02 Thread Dimitris Rizopoulos
mingw32 system i386, mingw32 status major2 minor2.1 year 2005 month12 day 20 svn rev 36812 language R Thanks in advance for any hints, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address

Re: [Rd] ID for machine?

2005-12-09 Thread Dimitris Rizopoulos
maybe Sys.info()["nodename"] could be helpfull in Windows. Best, Dimitris ---- Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015