Learn R Programming

wrMisc (version 1.14.1)

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)

Value

This functions returns a (numeric) vector with estimated standard errors

Arguments

dat

(numeric) matix, main input

nBoot

(integer) number if iterations for bootstrap

See Also

Examples

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