Learn R Programming

wrMisc (version 1.15.3.1)

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, debug = FALSE, callFrom = NULL)

Value

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

Arguments

dat

(numeric) matix

nBoot

(integer, length=1) number if iterations

silent

(logical) suppress messages

debug

(logical) additional messages for debugging

callFrom

(character) allow easier tracking of messages produced

See Also

Examples

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