interaction_plot2: Creates an interaction plot used in Explorer and ASMUS-tab in...

interaction_plot2R Documentation

Creates an interaction plot used in Explorer and ASMUS-tab in Subgroup Explorer

Description

Creates an interaction plot used in Explorer and ASMUS-tab in Subgroup Explorer

Usage

interaction_plot2(
  df_data,
  fac1,
  fac2 = NULL,
  fac3 = NULL,
  response,
  bg.col = "#6B6B6B",
  bg.col2 = NULL,
  font.col = "white",
  y.min = "NA",
  y.max = "NA",
  box.col = "white",
  sg_green = "#5cb85c",
  sg_blue = "#3a6791",
  plot_type = ""
)

Arguments

df_data

data frame with factorial context

fac1

name of factor level 1

fac2

name of factor level 2 (default: NULL)

fac3

name of factor level 3 (default: NULL)

response

target variable

bg.col

background color

bg.col2

second background color

font.col

font color

y.min

y-axis mininum.

y.max

y-axis maximum.

box.col

box color.

sg_green

hex code for color palette creation.

sg_blue

hex code for color palette creation.

plot_type

linear ("") or logarithmic ("log") y-axis (default: "").


subscreen documentation built on April 3, 2025, 8:55 p.m.