在我闪亮的应用程序的 server.R 上,我基本上有这个:库 fmsb、数据集和雷达图,我可以在 R studio 的绘图查看器中查看图表,但是如何在 UI 中显示图表的显示.R?感谢您提供的所有帮助。
library(fmsb)
# Create data: note in High school for several students
set.seed(99)
data=as.data.frame(matrix( sample( 0:20 , 15 , replace=F) , ncol=5))
colnames(data)=c("math" , "english" , "biology" , "music" , "R-coding" )
rownames(data)=paste("mister" , letters[1:3] , sep="-")
# To use the fmsb package, I have to add 2 lines to the dataframe: the max and min of each topic to show on the plot!
data=rbind(rep(20,5) , rep(0,5) , data)
colors_border=c( rgb(0.2,0.5,0.5,0.9), rgb(0.8,0.2,0.5,0.9) …Run Code Online (Sandbox Code Playgroud)