Description Usage Arguments Details Value Author(s) Examples
View source: R/plotRaw3d.fnc.R
For a specified response variable and interacting continuous predictors, visualize in 3d the surface average.
1 2 3 4 5 |
data |
A data frame. |
response |
The quoted name of a continuous response variable. |
pred |
The quoted name of a continuous predictor. |
intr |
The quoted name of an interacting continuous predictor. |
xy |
Whether to the |
color |
The colour scheme to use. One of |
zlim |
A two element vector specifying the plotting limits for the z-axis. |
xlab, ylab, zlab |
Titles for the axes. N.B. These must be character strings; expressions are not accepted. Numbers will be coerced to character strings. |
main |
The main title on top of the plot. |
shift |
Constant to add to the smooth (on the scale of the linear predictor) before plotting. Defaults to 0. |
scale |
Constant by which to multiply the smooth before plotting. Defaults to 1. |
plot.type |
The type of plot to make. Can be any of |
theta |
Angle defining the viewing direction. |
phi |
Angle defining the viewing direction. |
ticktype |
Character: |
contourstepsize |
The size of the steps from contour line to contour line. Defaults to 1. Used only if |
legend.args |
When |
... |
Further arguments passed to functions |
NA
s will be set to 0
.
Either a dynamic 3d perspective plot, a perspective plot, or a contour plot. Also invisibly returns the plotting matrix and the color vector.
Antoine Tremblay, Statistics Canada trea26@gmail.com
1 | # see example in LMERConvenienceFunctions help page.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.