Skip to content

Commit 44fb593

Browse files
committed
fix issue with kiteplots extending past 1 (sometimes go to 1.01*K) #54 and #57
1 parent 7b9423b commit 44fb593

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

R/app_server.R

+4-3
Original file line numberDiff line numberDiff line change
@@ -853,9 +853,10 @@ app_server <- function( input, output, session ) {
853853
"low" = rangenames[1],
854854
"med" = rangenames[2],
855855
"high" = rangenames[3]
856-
))
857-
858-
kiteplot <- ggradar(PM.try2,
856+
)) %>%
857+
mutate_if(is.numeric,function(x)replace(x,which(x>1),1))
858+
859+
kiteplot <- ggradar(PM.try2,
859860
axis.labels = axis.labels,
860861
grid.label.size = 3,
861862
axis.label.size = 4,

0 commit comments

Comments
 (0)