Learn R Programming

projoint (version 1.0.6)

plot.projoint_tau: Plot method for projoint_tau

Description

Visualizes the estimated intra-respondent reliability (\(\tau\)) produced by the extrapolation method and stored in a projoint_tau object.

Usage

# S3 method for projoint_tau
plot(x, ...)

Value

A ggplot2 object representing the IRR (\(\tau\)) visualization. The plot is drawn for its side effect and also returned (invisibly).

Arguments

x

A projoint_tau object.

...

Optional arguments (currently unused).

Examples

Run this code
# \donttest{
# Estimate tau, then plot:
# dat <- reshape_projoint(exampleData1, .outcomes = c("choice1","choice2"))
# tau_fit <- projoint_tau(dat)  # or predict_tau(dat)
# p <- plot(tau_fit)            # also returns the ggplot object (invisibly)
# }

Run the code above in your browser using DataLab