This function generates a forest plot of Tau-U effects.

# S3 method for sc_rand
scplot(object, type = "hist", add_density_curve = TRUE, ...)

Arguments

object

The return from the tau_u() function.

type

Either "hist" or "xy".

add_density_curve

If TRUE, adds a density curve to the histogram.

...

Further arguments.

Value

A forest plot displaying Tau-U effects.

Examples

res <- scan::rand_test(scan::exampleAB$Anja, limit = 1)
scplot(res, type = "hist")


scplot(res, type = "xy")