服务热线
178 0020 3020
# Figure 1
library(fmsb)
data <- mtcars[c(29:32),c(1:9)]
radarchart(data,axistype = 1,seg=2,plty=1,plwd=2,maxmin = FALSE,title = "R02-39")
legend("left",c("Ford Pantera L","Ferrari Dino", "Maserati Bora", "Volvo 142E"), col = c("black","red","green","blue"), lty = 0.3, pch = c(16,16,16,16),cex = 0.6,bty = "n")
#Figure 2
library(devtools)
install_github("ricardo-bion/ggradar")
library(ggradar)
library(ggplot2)
data3<-read.csv(file.choose())
ggradar(data3,axis.label.size = 3,grid.label.size = 3,group.line.width = 1,group.point.size = 2,legend.text.size = 6,plot.title = "R2-39")+theme(text=element_text(family="Garamond", size=14))
尝试了n遍修改各种参数text,包括最后的命令theme(text=element_text(family="Garamond/....", size=14)
我就是无法添加Type Feature, 请忽略它吧,我猜是我糟糕的法文系统惹的祸。给我及格吧
附件