R2-09第五期雷达图

Giant Panda 2017-12-05 22:12:00 阅读: 996

install.packages("fmsb")

library("fmsb")

mtcars<-mtcars[c(29:32),c(1:9)]

radarchart(mtcars,seg = 2,centerzero = 0,axistype = 1,maxmin = F,plty=1,plwd=1,title = "R2-09")

legend(1.4,0.8,c("Ford Pantera L","Ferrari Dino", "Maserati Bora", "Volvo 142E"), col = c("black","red","green","blue"), lty = 0.8, pch = 20,bty = "n")



11.png


install.packages("devtools")

install.packages('curl')

library(curl)

library(devtools)

devtools::install_github("ricardo-bion/ggradar",dependencies=TRUE)

mydata<-read.csv(file.choose())  

mydata

library("ggplot2")

library(ggradar)  

ggradar(mydata,axis.label.size =4,grid.line.width=1,group.point.size=4,group.line.width=1,

        legend.text.size=10,plot.title="R2-09")+theme(legend.position ="bottom")+theme(plot.title=element_text(size=12,colour="black")) 

 2.png

 
邀请讨论

附件

{{f.title}} 大小 {{f.file_size}} 下载 {{f.count_download}} 金币 {{f.count_gold}}
{{item.nick_name}} 受邀请回答 {{item.create_time}}
{{item.refer_comment.nick_name}} {{item.refer_comment.create_time}}

附件

{{f.title}} 大小 {{f.file_size}} 下载 {{f.count_download}} 金币 {{f.count_gold}}
切换到完整回复 发送回复
赞({{item.count_zan}}) 踩({{item.count_cai}}) 删除 回复 关闭
科研狗©2015-2024 科研好助手,京ICP备20005780号-1 建议意见

服务热线

178 0020 3020

微信服务号