【R语言小知识】脸谱图的绘制
x1<- c(3.2,2.5,2.9,1.4)
x2<- c(9.8,8.5,7.4,2.6)
x3<- c(7.3,6.5,8.1,3.5)
x4<- c(1.7,5.2,3.1,8.1)
dt <- as.data.frame(cbind(x1,x2,x3,x4))
library(aplpack)
faces(dt,face.type=0)
faces(dt,face.type=1)
faces(dt,face.type=2)
x1<- c(3.2,2.5,2.9,1.4)
x2<- c(9.8,8.5,7.4,2.6)
x3<- c(7.3,6.5,8.1,3.5)
x4<- c(1.7,5.2,3.1,8.1)
dt <- as.data.frame(cbind(x1,x2,x3,x4))
library(aplpack)
faces(dt,face.type=0)
faces(dt,face.type=1)
faces(dt,face.type=2)