Learn R Programming

wrMisc (version 1.14.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, callFrom = NULL)

Value

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

Arguments

dat

(numeric) matix

nBoot

(integer) number if iterations

silent

(logical) suppress messages

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