View source: R/bootstrap.lmdu.R
bootstrap.lmdu | R Documentation |
Bootstrap procedure for Logistic (Restricted) MDU
bootstrap.lmdu(object, Bsamples = 1000, myseed = 1)
object |
An output object from lmdu |
Bsamples |
Number of Bootstrap samples to take |
myseed |
A seed number to make the bootstrap reproducible |
BBdf Bootstrap estimates of B
BVdf Bootstrap estimates of V
## Not run:
data(dataExample_lmdu)
Y = as.matrix(dataExample_lmdu[ , 1:8])
X = as.matrix(dataExample_lmdu[ , 9:13])
output2 = lmdu(Y = Y, X = X, S = 2)
boot.output = bootstrap.lmdu(output2, Bsamples = 100)
plot(boot.output)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.