PlotMainEffects: Plot the estimated main effects.

Description Usage Arguments Details Value Examples

View source: R/PlotEffects.R

Description

Plot the estimated main effects.

Usage

1
2
3
4
5
6
7
PlotMainEffects(
  main_effect,
  anova_percent,
  x_units = NULL,
  y_name = "y",
  y_units = ""
)

Arguments

main_effect

A data frame from Visualize with plotting coordinates for the estimated main effects.

anova_percent

A data frame from Visualize of ANOVA percentages.

x_units

An optional vector of character strings containing the units of the input variables (for labels).

y_name

An optional character string containing the output variable name (for labels).

y_units

An optional character string containing the units of the output variable (for labels).

Details

Plots are sent to the active device. Each plot shows an estimated main effect (red solid line) and pointwise approximate 95% confidence limits (green dashed line).

Value

No return value, generates plots.

Examples

1
PlotMainEffects(borehole_vis$main_effect, borehole_vis$anova_percent)

GaSP documentation built on June 7, 2021, 5:08 p.m.