服务热线
178 0020 3020
library(fmsb)
View(mtcars)
newdata <- mtcars[c(29:32),c(1:9)]
radarchart(newdata,axistype = 1,seg = 2,maxmin = F,pty = 20)+legend("left",legend = c("Ford Pamtera L","Ferrari Dino","Maserati Bora","Volvo 142E"),lty = c(1,1,1,1),pch = c(16,16,16,16),col = c("black","red","green","blue"),cex = 0.8,bty = "n")
library(devtools)
install_github("ricardo-bion/ggradar")
library(ggradar)
library(ggplot2)
data1<-read.table("R2_5_data.csv",header = T,sep = ",")
ggradar(data1,axis.label.size = 3,grid.label.size = 3,group.line.width = 1,group.point.size = 2,legend.text.size = 6,plot.title = "R2-12")+theme(legend.position = "top")
附件