| andrews0 {andrews} | R Documentation |
Andrews curves
Description
Andrews curves for visualization of multidimensional data.
For differences between andrews and andrews2 see the 'vignette("andrews").
For colouring the curves see the details.
Usage
andrews0(
df,
type = 1,
clr = NULL,
step = 100,
ymax = 10,
main = NULL,
sub = NULL
)
Arguments
df |
data frame |
type |
type of curve
|
clr |
number/name of column in the date frame for color of curves |
step |
smoothness of curves |
ymax |
maximum of |
main |
main title for the plot |
sub |
sub title for the plot |
Details
Andrews curves transform multidimensional data into curves. This package presents four types of curves
If df[,clr] is numeric then hsv(1,1,v) with the normalized values (on \[0, 1\]) of df[,clr] is used.
Otherwise the number of unique values in nuv <- unique(df[,clr]) is used in connection with rainbow(nuv).
Value
nothing
Author(s)
Jaroslav Myslivec jaroslav.myslivec@upce.cz
References
Andrews, D. F. (1972) Plots of High-Dimensional Data. Biometrics, vol. 28, no. 1, pp. 125-136.
Khattree, R., Naik, D. N. (2002) Andrews Plots for Multivariate Data: Some New Suggestions and Applications. Journal of Statistical Planning and Inference, vol. 100, no. 2, pp. 411-425.
Examples
data(iris)
andrews0(iris,clr=5,ymax=3)
andrews0(iris,type=4,clr=5,ymax=2)