View source: R/forNowTransforms.R
calcTabMedianInsert | R Documentation |
Given a vector of values, calculates the weighted median
calcTabMedianInsert(vec, var_cats)
vec |
A vector to use for calculation (a single dimension of an array) |
var_cats |
The 'Categories' object that corresponds to the vector in 'vec' |
The weighted median of the numeric values of 'var_cats' given the weights in 'vec'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.