powered by
This function determines the stand error (sd) of the median for each row by bootstraping each row of 'dat'. Note: requires package boot
rowMedSds(dat, nBoot = 99, silent = FALSE, debug = FALSE, callFrom = NULL)
This functions returns a (numeric) vector with estimated sd values
(numeric) matix, main input
(integer) number if iterations for bootstrap
(logical) suppress messages
(logical) display additional messages for debugging
(character) allows easier tracking of messages produced
For a more flexible version able to handle lists please look at colMedSds , based on boot
colMedSds
boot
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