weighted_quantile: Function for calculating weighted quantiles

weighted_quantileR Documentation

Function for calculating weighted quantiles

Description

The code is taken from package spatstat, version 1.63.3. The function is no longer part of spatstat package

Usage

weighted_quantile(x, w, probs = seq(0, 1, 0.25), na.rm = TRUE)

Arguments

x

vector of numerical values

w

vector of numerical weights, need to be larger than one

probs

the quantile to be calculated

na.rm

logical; remove NA values


honzee/RNAseqCNV documentation built on Jan. 30, 2024, 7:07 p.m.