plot.fdqcd {qcr}R Documentation

Plot method for 'fdqcd' objects

Description

Generic function for plotting Multivarite charts of object of class 'fdqcd' to perform statistical quality control.

Usage

## S3 method for class 'fdqcd'
plot(x, y = NULL, title = NULL, xlab = NULL, ylab = NULL, col = NULL, ...)

Arguments

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.

Examples

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")

[Package qcr version 1.4 Index]