ils.fqcdata {ILS} | R 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 |
p |
The number of laboratories. |
index.laboratory |
The laboratory index. The index laboratory length should be equal a |
argvals |
Argvals, by default: |
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)