npqcd: It creates a data object for Non Parametric Quality Control

View source: R/npqcd.R

npqcdR Documentation

It creates a data object for Non Parametric Quality Control

Description

It creates an object of class 'npqcd' to perform statistical quality control. This object is used to plot Non Parametric Multivariate Control Charts.

Usage

npqcd(x, G = NULL, data.name = NULL)

Arguments

x

A matrix, a data-frame or an array which it should contain data. Dimension has to be the same as that of the observations.

G

The x as a matrix, data frame or list. If it is a matrix or data frame, then each row is viewed as one multivariate observation.

data.name

A string that specifies the title displayed on the plots. If not provided it is taken from the name of the object x.

Examples


library(qcr)

set.seed(356)
data <- matrix(rnorm(999), nc = 3)
x <-rexp(999,0.5) 
x <-matrix(x,ncol=3) 
data.npqcd <- npqcd(data,x)
str(data.npqcd)

mflores72000/qcr documentation built on July 1, 2023, 9:17 p.m.