plot.fdqcd | R Documentation |
Generic function for plotting Multivarite charts of object of class 'fdqcd' to perform statistical quality control.
## S3 method for class 'fdqcd'
plot(x, y = NULL, title = NULL, xlab = NULL, ylab = NULL, col = NULL, ...)
x |
Object fdqcd (pashe I) |
y |
Object fdqcd (monitoring) |
title |
An overall title for the plot. |
xlab |
A title for the 'x' axis. |
ylab |
A title for the 'y' axis. |
col |
The color for curves. |
... |
Arguments to be passed to or from methods. |
library(qcr)
m <- 30
tt<-seq(0,1,len=m)
mu<-30 * tt * (1 - tt)^(3/2)
n0 <- 100
set.seed(12345)
mdata<-matrix(NA,ncol=m,nrow=n0)
sigma <- exp(-3*as.matrix(dist(tt))/0.9)
for (i in 1:n0) mdata[i,]<- mu+0.5*mvrnorm(mu = mu,Sigma = sigma )
fdchart <- fdqcd(mdata)
plot(fdchart,type="l",col="gray")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.