Learn R Programming

scplot (version 0.5.1)

scplot.sc_rand: Plot Randomization Effects

Description

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

Usage

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

Value

A forest plot displaying Tau-U effects.

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.

Examples

Run this code
if (FALSE) {
res <- scan::rand_test(scan::exampleAB$Anja, limit = 1)
scplot(res, type = "hist")

scplot(res, type = "xy")
}

Run the code above in your browser using DataLab