boot.dna-methods | R Documentation |
Methods for generating a single bootstrap replicate.
## S4 method for signature 'Dna'
boot.dna(x,replacement=TRUE)
x |
an object of class |
replacement |
boolean; whether the sampling is done with replacement or without replacement. |
an object of class Dna.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.