【R语言小知识】雷达图的制作
x1<- c('A','B','C')
x2<- c(3.2,2.5,2.9)
x3<- c(9.8,8.5,7.4)
x4<- c(7.3,6.5,8.1)
x5<- c(1.7,5.2,3.1)
dt <- as.data.frame(cbind(x1,x2,x3,x4,x5))
library(radarchart)
chartJSRadar(dt,,labelSize=20, scaleStartValue=0,responsive=T,
polyAlpha=0,lineAlpha=1, addDots=T,
scaleStepWidth = 4,maxScale = 10,
showLegend = T,width = "450", height = "300")