Learn R Programming

FindIt (version 1.2.0)

plot.CausalANOVA: Plotting CausalANOVA

Description

Plotting CausalANOVA

Usage

# S3 method for CausalANOVA
plot(
  x,
  fac.name,
  treat.ind = 1,
  type = "ConditionalEffect",
  space = 15,
  xlim,
  ...
)

Arguments

x

An output from CausalANOVA

fac.name

Factor names to plot. Length should be 2.

treat.ind

Which factor serves as the main treatment. Should be 1 (the first element of fac.name) or 2 (the second element of fac.name).

type

What types of effects to plot. Should be one of AME, AMIE and ConditionalEffect.

space

Space on the left side of the plot.

xlim

Range for the x-axis

...

Other graphical parameters