censor_data: Return censored data

censor_leftR Documentation

Return censored data

Description

Return censored data

Usage

censor_left(x, min)

censor_right(x, max)

censor_both(x, min, max)

Arguments

x

numeric vector

min

numeric scalar describing the minimum value for censoring.

max

numeric scalar describing the maximum value for censoring.

Functions

  • censor_left(): left censor data (floor)

  • censor_right(): right censor data (ceiling)

  • censor_both(): left and right censor data (floor and ceiling)


WhiteJP/jpw documentation built on April 17, 2025, 5:47 a.m.