creating “radar chart” (a.k.a. star plot; spider plot) using ggplot2 in R
问题 I want to create a plot like the one below: I know I can use the radarchart function from fmsb package. I wonder if ggplot2 can do so, using polar coordinate? Thanks. 回答1: First, we load some packages. library(reshape2) library(ggplot2) library(scales) Here are the data from the radarchart example you linked to. maxmin <- data.frame( total = c(5, 1), phys = c(15, 3), psycho = c(3, 0), social = c(5, 1), env = c(5, 1) ) dat <- data.frame( total = runif(3, 1, 5), phys = rnorm(3, 10, 2), psycho =