LOESS Regression Plot

dai.loess_regression_plot(
  dataset,
  x_variable_name,
  y_variable_name,
  mark = "point",
  bandwidth = 0.5,
  render = TRUE,
  progress = getOption("dai.progress", TRUE)
)

Arguments

dataset

DAIFrame representing the dataset.

x_variable_name

The name of the x variable.

y_variable_name

The name of the y variable.

mark

Either point or square.

bandwidth

Proportion of cases in smoothing window, within (0,1).

render

Whether to directly render the plot or not

progress

Whether to display a progress bar.

Value

JSON of the plot in Vega format if render=FALSE.