x
a factor random variable?Test if x
is an rvar_factor
or rvar_ordered
.
is_rvar_factor(x)is_rvar_ordered(x)
TRUE
if x
is an rvar_factor
or rvar_ordered
, FALSE
otherwise.
(any object) An object to test.
as_rvar_factor()
and as_rvar_ordered()
to convert objects to
rvar_factor
s and rvar_ordered
s.