[R] Bug in bootcov; R 2.2

From: Peter Muhlberger <pmuhl1848_at_gmail.com>
Date: Thu 05 Jan 2006 - 02:48:58 EST


There's a bug in my version of bootcov. I'm not sure whether to report it here or in r-bugs, because it is in a contributed package. The bug is straightforward, so perhaps it has been reported, tho I found no reference in a search of the archive.

Any attempt to run bootcov with both cluster and strata will throw an error indicating that jadd is not defined (Error: object "jadd" not found). The source of the error is the line:

jadd <- c(j, jadd)

jadd does not appear elsewhere in the code, so it is undefined. I believe the correct line is:

 j <- c(j, obs.gci)

Information on my R version:

> R.Version()
$platform
[1] "powerpc-apple-darwin7.9.0"

$os
[1] "darwin7.9.0"

$system
[1] "powerpc, darwin7.9.0"

$status
[1] ""

$major
[1] "2"

$minor
[1] "2.0"

$"svn rev"
[1] "35749"



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jan 05 03:10:31 2006

This archive was generated by hypermail 2.1.8 : Thu 05 Jan 2006 - 05:29:22 EST