View source: R/ZlmFit-bootstrap.R
pbootVcov1 | R Documentation |
Sample cells with replacement to find bootstrapped distribution of coefficients
pbootVcov1(cl, zlmfit, R = 99)
bootVcov1(zlmfit, R = 99, boot_index = NULL)
cl |
a |
zlmfit |
class |
R |
number of bootstrap replicates |
boot_index |
list of indices to resample. Only one of R or boot_index can be offered. |
array of bootstrapped coefficients
array of bootstrapped coefficients
pbootVcov1()
: parallel version of bootstrapping
data(vbetaFA)
zlmVbeta <- zlm(~ Stim.Condition, subset(vbetaFA, ncells==1)[1:5,])
#Only run 3 boot straps, which you wouldn't ever want to do in practice...
bootVcov1(zlmVbeta, R=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.