服务热线
178 0020 3020
>install.packages("devtolls")
>devtools::install_github("ricardo-bion/ggradar")
>install.packages("ggradar")
>install.packages("fmsb")
>install.packages("curl")
>install.packages("dplyr")
>mydata<-
+read.csv(file.choose("F:/R语言学习/R2_5_data"))
>radarchart(mydata,axistype=1,seg=2,plty=1,plwd=1,maxmin=FALSE,title="R2-16")
>legend("left",c("Ford Pantera L","Ferrari Dino", "Maserati Bora", "Volvo 142E"), col = c("black","red","green","blue"), lty=0.6, pch=c(16,16,16,16),cex=1,bty="n")
>ggradar(mydata,axis.label.size =4,grid.label.size = 4,legend.text.size = 6)+theme(legend.title = element_blank(),legend.position = "top")+ggtitle("R2-16")
附件