powered by
realized_dist
Test whether an object is a realized_dist.
is_realized_dist(x)
TRUE if x inherits from "realized_dist", FALSE otherwise.
TRUE
x
"realized_dist"
FALSE
The object to test.
# \donttest{ rd <- realize(normal(0, 1), n = 100) is_realized_dist(rd) # TRUE # } is_realized_dist(normal(0, 1)) # FALSE
Run the code above in your browser using DataLab