Learn R Programming

posterior (version 1.6.0)

is_rvar: Is x a random variable?

Description

Test if x is an rvar.

Usage

is_rvar(x)

Value

TRUE if x is an rvar, FALSE otherwise.

Arguments

x

(any object) An object to test.

See Also

as_rvar() to convert objects to rvars.