请教R语言中怎么用boot包,自助法估计样本中位数,以及此估计的方差和偏倚...答:comp <- sample(c(0, 5), size = 1000, prob = c(0.6, 0.4), replace = T)x=rnorm(1000, mean = ifelse(comp == 0, 0, 5), sd = ifelse(comp == 0, 1, 0.2^0.5))require(boot)median.boot<-function(x,ind){median(x[ind])} boot(x,median.boot,1000)中位数就...