View source: R/plot.ils.fqcdata.R
plot.ils.fqcdata | R Documentation |
Generic function to plot objects of 'ils.fqcdata' class
## S3 method for class 'ils.fqcdata' plot( x, type = "l", main = NULL, xlab = NULL, ylab = NULL, ylim = NULL, x.co = NULL, y.co = NULL, legend = TRUE, col = NULL, ... )
x |
An object class of |
type |
1-character string giving the type of plot desired. The following values are possible for fdata class object: "l" for lines (by default), "p" for points, , "o" for overplotted points and lines, "b", "c" for (empty if "c") points joined by lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines. The following values are possible for fdata2d class object: "image.contour" (by default) to display three-dimensional data and add the contour lines, "image" to display three-dimensional data, "contour" to display a contour plot, "persp" to display a perspective plots of a surface over the x-y plane and "filled.contour" to display a contour plot with the areas between the contours filled in solid color. |
main |
Main title for the plot. |
xlab |
Title for the x axis. |
ylab |
Title for the y axis. |
ylim |
The y limits of the plot. |
x.co |
It speficies the x co-ordinates to be used to place a legend. |
y.co |
It specifies the y co-ordinates to be used to place a legend. |
legend |
Logical argument. Default is TRUE then The legend default is used. |
col |
Color specifications |
... |
Other arguments passed to matplot function (for fdata class). |
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.
## Not run: library(ILS) data(TG) delta <- seq(from = 40 ,to = 850 ,length.out = 1000 ) fqcdata <- ils.fqcdata(TG, p = 7, argvals = delta) windows() xlab <- "Temperature (C)" ylab <- "Mass (%)" main <- "TG curves obtained from calcium oxalate" plot(x = fqcdata, main = main, xlab=xlab, ylab=ylab,legend = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.