Usage
plot3d(object, dims = c(1, 2), resolution = 20, CI = 0.95, prior = TRUE, CIs = TRUE,
theta = 30, phi = 30, peak = FALSE, ...)
Arguments
dims
A vector of length 2 giving the column numbers of the covariates to plot.
resolution
The resolution of the prediction surface along each covariate.
CI
The level at which to calculate predictive credible intervals. The default value returns upper and lower 95% credible intervals.
prior
Whether to additionally plot the value of the prior function.
CIs
Whether to additionally plot the credible intervals.
theta
Viewing angle for persp
, theta gives the azimuthal direction.
phi
Viewing angle for persp
, phi gives the colatitude.
peak
Whether to hold other covariates at the value of the training datapoint with the highest probability of presence. If FALSE
covariates are held at their mean value in the training data set.
...
Additional arguments to pass to persp
.