ils.fqcdata: Functional Quality Control Data

View source: R/ils.fqcdata.R

ils.fqcdataR Documentation

Functional Quality Control Data

Description

It Creates an object of class 'ils.fqcd' to perform statistical quality control. This object is used to plot functional data.

Usage

ils.fqcdata(
  x,
  p = NULL,
  index.laboratory = NULL,
  argvals = NULL,
  rangeval = NULL,
  names = NULL
)

Arguments

x

A (n x m) matrix or data-frame. The m is the number of points observed in each curve, and n is the number of curves for each laboratory.

p

The number of laboratories.

index.laboratory

The laboratory index. The index laboratory length should be equal a p.

argvals

Argvals, by default: 1:m.

rangeval

The range of discretization points, by default: range(argvals).

names

Optional. A list with tree components: main an overall title, xlab title for x axis and ylab title for y axis.

References

Febrero-Bande, M. and Oviedo, M. (2012), "Statistical computing in functional data analysis: the R package fda.usc". Journal of Statistical Software 51 (4), 1-28.

Naya, S., Tarrio-Saavedra. J., Lopez- Beceiro, J., Francisco Fernandez, M., Flores, M. and Artiaga, R. (2014), Statistical functional approach for interlaboratory studies with thermal data". Journal of Thermal Analysis and Calorimetry, 118,1229-1243.

Examples

library(ILS)
data(TG)
delta <- seq(from = 40 ,to = 850 ,length.out = 1000 )
fqcdata <- ils.fqcdata(TG, p = 7, argvals = delta)
xlab <- "Temperature (C)"
ylab <- "Mass (%)"
main <- "TG curves obtained from calcium oxalate"
plot(x = fqcdata, main = main, xlab=xlab, ylab=xlab,col = 1:7,legend = TRUE)

ILS documentation built on Jan. 16, 2023, 1:07 a.m.

Related to ils.fqcdata in ILS...