powered by
Determine standard error (sd) of median by bootstraping for multiple sets of data (rows in input matrix 'dat'). Note: Uses the package boot.
colMedSds(dat, nBoot = 99, silent = FALSE, callFrom = NULL)
(numeric) matix
(integer) number if iterations
(logical) suppress messages
(character) allow easier tracking of message(s) produced
(numeric) vector with estimated standard errors
boot
# NOT RUN { set.seed(2016); dat1 <- matrix(c(runif(200) +rep(1:10,20)), ncol=10) colMedSds(dat1) # }
Run the code above in your browser using DataLab