Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.
实例----------Examples----------
y <- rnorm(30) # Some data: 30 draws from standard normal.[一些数据:30吸引了来自标准正常。]
x <- rvboot(y) # A random vector of length 30 (each component has the same distribution)[随机向量的长度为30(每个组件都具有相同的分布)]
print(mean(x)) # Bootstrap estimate of the mean.[引导估计的意思。]
print(sd.rv(x)) # Bootstrap estimate of the sd.[引导估计的sd。]