powered by
Methods for generating a single bootstrap replicate.
# S4 method for Dna boot.dna(x,replacement=TRUE)
an object of class Dna.
Dna.
Dna
boolean; whether the sampling is done with replacement or without replacement.
signature(x = "Dna")
generates single bootstrap replicate from a Dna object.
Caner Aktas, caktas.aca@gmail.com
data("dna.obj") x<-dna.obj ## Generating a bootstrap replicate. # with replacement bxr<-boot.dna(x) image(bxr) # without replacement bx<-boot.dna(x,replacement=FALSE) image(bx)
Run the code above in your browser using DataLab