powered by
rowMedSds determines the stand error (sd) of the median for each row by bootstraping each row of 'dat'. Note: requires package boot
rowMedSds
rowMedSds(dat, nBoot = 99)
(numeric) matix, main input
(integer) number if iterations for bootstrap
(numeric) vector with estimated standard errors
boot
# NOT RUN { set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)),ncol=10) rowMedSds(dat1) ; plot(rowSds(dat1),rowMedSds(dat1)) # }
Run the code above in your browser using DataLab