Skip to contents

Plot interactions

Usage

plot_interactions(
  fit_obj,
  var1 = 1,
  var2 = 2,
  method = c("poly", "mars"),
  degree = 1,
  ...
)

Arguments

fit_obj

Fitted object of class 'matern32'

var1

Covariate 1

var2

Covariate 2

method

The method to use for smoothing the interactions

degree

The degree of the polynomial to use for smoothing

...