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:
"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
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
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] "
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
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
- 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
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
.
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/
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
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) {
>
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
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
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
14 matches
Mail list logo