View source: R/plot.trivRegion.R
plot.trivRegion | R Documentation |
This function allow to depict in an interactive rgl plot the estimated trivariate reference/probabilistic region. If cond=FALSE it showes trivariate standarized residuals, while with cond=TRUE it represents the region shape for any covariate(s) value.
## S3 method for class 'trivRegion' plot( x, cond = FALSE, planes = FALSE, newdata = NULL, add = FALSE, reg.col = NULL, incol = "grey", legend = FALSE, ... )
x |
A trivRegion object. |
cond |
A logical argument, if TRUE a conditional reference region is depicted. |
planes |
Logical; if TRUE, planes are added indicating (x=0,y=0,z=0). |
newdata |
If cond==TRUE, a data frame containing covariate values for which the reference/probabilistic region will be depicted. |
add |
A logical argument, if TRUE the conditional reference region is depicted over a pre existing plot. |
reg.col |
Region contour colour. |
incol |
Colours for the points included inside the reference region. |
legend |
A logical argument, if TRUE a legend is given along with the reference region. |
... |
Further rgl plot parameters. |
This function return an interactive rgl plot of a bivRegion object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.