Learn R Programming

wrMisc (version 1.9.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: The package boot must be installed from CRAN.

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 messages produced

Value

This function returns a (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