cSEM (version 0.2.0)

plot.cSEMSurface: cSEMSurface method for plot()

Description

Plot the predicted values of an independent variable (z) The values are predicted based on a certain moderator and a certain independent variable including all their higher-order terms.

Usage

# S3 method for cSEMSurface
plot(x, .plot_type = c("plotly"), ...)

Arguments

x

An R object of class cSEMSurface.

.plot_type

A character vector indicating the plot package used. Options are "plotly", "rsm", and "persp". Defaults to "plotly".

...

Additional parameters that can be passed to graphics::persp, e.g., to rotate the plot.

See Also

doSurfaceAnalysis()