Learn R Programming

wrMisc (version 1.7.0)

colMedSds: Standard error of median for each column by bootstrap

Description

Determine standard error (sd) of median by bootstraping for multiple sets of data (rows in input matrix 'dat'). Note: Uses the package boot.

Usage

colMedSds(dat, nBoot = 99, silent = FALSE, callFrom = NULL)

Arguments

dat

(numeric) matix

nBoot

(integer) number if iterations

silent

(logical) suppress messages

callFrom

(character) allow easier tracking of message(s) produced

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)
colMedSds(dat1) 
# }

Run the code above in your browser using DataLab