robust_scale_binned: Robust scale using median and mad per bin

Description Usage Arguments Value

View source: R/utils.R

Description

Put the values in y in bins based on the values in x and the breaks defined in breaks. Apply robust scaling to y per bin.

Usage

1
robust_scale_binned(y, x, breaks)

Arguments

y

Numeric vector

x

Numeric vector

breaks

Numeric vector of breaks

Value

Numeric vector of scaled values


sctransform documentation built on Nov. 18, 2018, 5:04 p.m.