Re: [R] bootstrap function

2011-09-06 Thread Daniel Malter
install.packages("bootstrap") library(bootstrap) ? -- View this message in context: http://r.789695.n4.nabble.com/bootstrap-function-tp3794224p3795264.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] bootstrap function

2011-09-06 Thread shu chen
Hi, all, When I ran the following code, library (Design) reri <- function(datsam) { fitlr <- glm(PTSDpy ~ toxo*PTE, family=binomial, data=datsam) reri <- exp(fitlr$coef[2]+fitlr$coef[3]+fitlr$coef[4])-exp(fitlr$coef[2]) - exp(fitlr$coef[3]) + 1 } summary.bootstrap(bootstrap(PTE.work, reri(PTE