preceq: Preceq

View source: R/preceq.R

preceqR Documentation

Preceq

Description

Calculate I(x \preceq y) = I(x < y) + 0.5 I(x = y)

Usage

preceq(x, y)

Arguments

x

numeric

y

numeric

Value

I(x \preceq y)

Examples

preceq(x = c(0, 0, 0), y = c(-1, 0, 1))
preceq(x = 0, y = c(-1, 0, 1))

ge-li/upim documentation built on Oct. 30, 2022, 3:36 a.m.