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 Nov. 2, 2023, 5:56 p.m.