Questions tagged [ggradar]

12 questions
1
vote
1 answer

Create a radar chart in R

I have been struggling a ton today to make a radar chart in R. I just have an one line data nad I want to show it in nice radar chart instead of a line plot my data is data=tibble("AAAP family"=15,"ABC super family"=42,"ACA"=6, "ACBP60s"=4,"AGC…
Corrector
  • 163
  • 9
1
vote
0 answers

ggradar: Make radar plot with value greater than the grid.max to demonstrate overgrowth

I need to demonstrate over-yielding similar to Fig.2 in this pub https://acsess.onlinelibrary.wiley.com/doi/full/10.2135/cropsci2016.01.0046. library(tidyverse); library(ggpubr); library(fmsb); library(ggradar) exam_scores <- data.frame( …
hnguyen
  • 772
  • 6
  • 17
1
vote
1 answer

ggRadar showing different values than dataframe

I am fairly new to R and I am working on a radar plot with multiple y-values and facets. I want to create three seperate radar plots out of my dataframe instead of just one, depending on the location of my points. When I filter my df according to…
larre
  • 13
  • 2
1
vote
1 answer

ggradar returns Error: 'plot.data' contains value(s) > grid.max

Given a sample data as follows: df <- structure(list(date = c("2022-1-31", "2022-2-28"), PMI = c(50.1, 50.2), PMI.import = c(48.4, 49), PMI.export = c(47.2, 48.6)), class = "data.frame", row.names = c(NA, -2L)) Out: date PMI PMI.import…
ah bon
  • 9,293
  • 12
  • 65
  • 148
0
votes
1 answer

Why is ggradar polygon fill colour different to polygon colour?

I have a dataframe, sampdf, which looks like this: name cat1 cat2 cat3 cat4 cat5 Any Name 0.6198695 0.8864993 0.6239897 0.9735296 0.9735149 I wish to plot this as a (filled) polygon using ggradar. Here's my code: ggradar(sampdf, …
0
votes
0 answers

Is there a way to replace the word labels of a ggradar graph with images?

I have here a table that I converted to a spider plot with ggradar: df <- tibble( bad_decision = n, adc = 7, jungle = 10, mid = 5, support = 11, top = 16, ) ggradar( df[1, ], values.radar = c("0", "10", "20"), grid.min = 0, grid.mid =…
Yh Lee
  • 1
0
votes
1 answer

How to loop over multiple groups and create radar plots in R

I have the following dataframe: group Class Maths Science Name1 7 74 78 Name2 7 80 91 Name3 6 69 80 I want to create different radar plots for the variables Maths and Science for each classes using R. eg: For the above dataframe, two…
0
votes
0 answers

Change size of radar/spider plot generated using ggradar package (R)

I have the following radar/spider chart generated using the ggradar package in R. I've tried to search how to adjust the size of the chart but I couldn't find any information, is there a way to do this? My issue is that when I want to embed the…
Tanga94
  • 695
  • 6
  • 27
0
votes
0 answers

ggplot2 panel.grid.major customization for ggRadar (ggiraphExtra package)

I am using ggRadar function (from ggiraphExtra package) to create a radar plot. It works well, but for some reason, I get an additional major grid line (or more precisely round). My code is as follows: ggRadar(data,aes(facet=speaker),rescale =…
Mysliik
  • 41
  • 4
0
votes
2 answers

Change axis title text color in ggradar

I want the tiles around the radar chart (eg mpg, cyl, disp, etc) to be a different color. Is there a way to do this in ggradar? I have tried to do this with the theme() argument but doesn't seem to be working. There is an argument within ggradar to…
pyll
  • 1,688
  • 1
  • 26
  • 44
0
votes
1 answer

ggradar: how to increase space for long axis labels

I want to create a radar chart with ggradar package. The problem is that I have long labels and they are clipped (as shown in the figure below inside two red rectangles). library(ggplot2) library(tidyverse) library(ggradar) df <-…
ah bon
  • 9,293
  • 12
  • 65
  • 148