is_rvar: Is 'x' a random variable?

View source: R/rvar-cast.R

is_rvarR Documentation

Is x a random variable?

Description

Test if x is an rvar.

Usage

is_rvar(x)

Arguments

x

(any object) An object to test.

Value

TRUE if x is an rvar, FALSE otherwise.

See Also

as_rvar() to convert objects to rvars.


posterior documentation built on April 4, 2025, 4:44 a.m.