efficiency analysis.pcrboot(object, type = c("boot", "jack"), B = 100, njack = 1,
plot = TRUE, do.eff = TRUE, conf = 0.95, verbose = TRUE, ...)bootstrapping or jackknifing.type = "jack", how many datapoints to exclude. Defaults to leave-one-out.TRUE, efficiency analysis will be performed.TRUE, the iterations will be printed on the console.ITER.coef), root-mean-squared error (rmse), residual sum-of-squares (rss), goodness-of-fit measures (gof) and the efficiency analysis (eff). If plot = TRUE, all data is plotted as boxplots including confidence intervals.## simple bootstrapping with
## too less iterations...
par(ask = FALSE)
m1 <- pcrfit(reps, 1, 2, l4)
pcrboot(m1, B = 20)
## jackknifing with leaving
## 5 datapoints out
m2 <- pcrfit(reps, 1, 2, l4)
pcrboot(m2, type = "jack", njack = 5, B = 20)Run the code above in your browser using DataLab