show_plot: Retrieve CEMiTool object plots

show_plotR Documentation

Retrieve CEMiTool object plots

Description

Retrieve CEMiTool object plots

Usage

show_plot(cem, value)

## S4 method for signature 'CEMiTool'
show_plot(
  cem,
  value = c("profile", "gsea", "ora", "interaction", "beta_r2", "mean_k",
    "sample_tree", "mean_var", "hist", "qq")
)

Arguments

cem

Object of class CEMiTool.

value

A character string containing the name of the plot to be shown. One of "profile", "gsea", "ora", "interaction", "beta_r2", "mean_k", "sample_tree", "mean_var", "hist", "qq".

Value

A plot corresponding to a CEMiTool analysis

Examples

# Get example CEMiTool object
data(cem)
# Plot beta x R squared graph
cem <- plot_beta_r2(cem)
# Check plot
show_plot(cem, "beta_r2")

csbl-usp/CEMiTool documentation built on March 27, 2024, 5:14 a.m.