wtd.median: Find Median of Variable
Description
Takes in variable and finds median, works with sampling weights
Usage
wtd.median(x, weights = NULL)
Arguments
weights
Sampling weights of variable (optional)
Value
Returns the median value of the variable
Details
Makes use of the wtd.quantile function, part of the Hmisc package