pbootVcov1 {MAST} | 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)