Learn R Programming

wrMisc (version 1.2.3)

rowMedSds: sd of median for each row by bootstrap

Description

rowMedSds 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)

Arguments

dat

(numeric) matix, main input

nBoot

(integer) number if iterations for bootstrap

Value

(numeric) vector with estimated standard errors

See Also

boot

Examples

Run this code
# 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