Learn R Programming

SubgrpID (version 0.12)

interaction.plot: interaction.plot

Description

A function for interaction plot

Usage

interaction.plot(
  data.eval,
  type,
  main = "Interaction Plot",
  trt.lab = c("Trt.", "Ctrl.")
)

Value

A ggplot object.

Arguments

data.eval

output of evaluate.results or summarize.cv.stats

type

data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c".

main

title of the plot

trt.lab

treatment label

Details

A function for interaction plot