plot.jointmotbf {MoTBFs} | R Documentation |
Bidimensional plots for 'jointmotbf'
objects
Description
PLot the perpective and the contour plots for joint MoTBF functions.
Usage
## S3 method for class 'jointmotbf'
plot(
x,
type = "contour",
ranges = NULL,
orientation = c(5, -30),
data = NULL,
filled = TRUE,
ticktype = "simple",
...
)
Arguments
x |
An object of class |
type |
A |
ranges |
A |
orientation |
A |
data |
An object of class |
filled |
A logical argument; it is only used if |
ticktype |
A |
... |
Further arguments to be passed to plot. |
Value
A plot of the joint MoTBF.
See Also
Examples
## 1 .EXAMPLE
## Dataset
X <- data.frame(rnorm(500), rnorm(500))
## Joint function
dim <- c(3,3)
param1 <- parametersJointMoTBF(X, dimensions = dim)
P <- jointMoTBF(param1)
P
## Plots
plot(P)
plot(P, type = "perspective", orientation = c(90,0))
#############################################################################
## MORE EXAMPLES ############################################################
#############################################################################
## Dataset
X <- data.frame(rnorm(200,2), rexp(200, 1))
## Joint function
dim <- c(4,5)
param2 <- parametersJointMoTBF(X, dimensions = dim)
P <- jointMoTBF(param2)
P
## Plots
plot(P)
plot(P, filled = FALSE, data = X)
plot(P, type = "perspective", orientation = c(10,180))