R2-36-第五期-雷达图

范志敏 2017-12-02 21:30:09 阅读: 937

setwd("E:/bioinformatics/fanzhimin")

install.packages('fmsb')

library(fmsb)

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

radarchart(data1,axistype = 1,seg = 2,maxmin = F, title="R2-36",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")


install.packages("devtools")

library(devtools)

install_github("ricardo-bion/ggradar")

library(ggradar)

library(ggplot2)

data2<-read.csv("R2-5.csv", header = TRUE)

ggradar(data2,axis.label.size = 6,grid.label.size = 6,legend.text.size = 6)+theme(legend.title = element_blank(),legend.position = "top")+ggtitle("R2-36")


 

 
邀请讨论

附件

{{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

微信服务号