cap_object: Cap Data

View source: R/basics.R

cap_objectR Documentation

Cap Data

Description

Cap the values of data (matrix, data.frame, or list)

Usage

cap_object(X, q)

Arguments

X

a list-list object, matrix, dataframe, or list

q

quantile to cap at (e.g. 0.05 is capping at the bottom 5th and top 95th quantiles)

Value

a capped version of your input object.


Jerby-Lab/opipes documentation built on Oct. 7, 2022, 12:28 p.m.