rowMedSds {wrMisc} | R Documentation |
Estimate sd Of Median For Each Row By Bootstrap
Description
This function determines the stand error (sd) of the median for each row by bootstraping each row of 'dat'. Note: requires package boot
Usage
rowMedSds(dat, nBoot = 99, silent = FALSE, debug = FALSE, callFrom = NULL)
Arguments
dat |
(numeric) matix, main input |
nBoot |
(integer) number if iterations for bootstrap |
silent |
(logical) suppress messages |
debug |
(logical) display additional messages for debugging |
callFrom |
(character) allows easier tracking of messages produced |
Value
This functions returns a (numeric) vector with estimated sd values
See Also
For a more flexible version able to handle lists please look at colMedSds
, based on boot
Examples
set.seed(2016); dat1 <- matrix(c(runif(200)+rep(1:10,20)), ncol=10)
rowMedSds(dat1) ; plot(rowSds(dat1), rowMedSds(dat1))
[Package wrMisc version 1.15.1 Index]