I hope to flip angle the label. I use the popular functon CreateRadialplot to obtain a circular plot with ggplot2. Link to the site. Now i obtain this, look at the plot below.
Someone can help me with this function to flip angle of the labels rather than horizontal labels as showed here?
sample code who called the function:
var.names <- c("All Flats", "No central heating", "Rooms per\nhousehold", "People per room",
"HE Qualification", "Routine/Semi-Routine\nOccupation", "2+ Car household",
"Public Transport\nto work", "Work from home")
values.a <- c(-0.1145725, -0.1824095, -0.01153078, -0.0202474, 0.05138737, -0.1557234,
0.1099018, -0.05310315, 0.0182626)
values.b <- c(0.2808439, -0.2936949, -0.1925846, 0.08910815, -0.03468011, 0.07385727,
-0.07228813, 0.1501105, -0.06800127)
group.names <- c("Blue Collar Communities", "Prospering Suburbs")
m2 <- matrix(c(values.a, values.b), nrow = 2, ncol = 9, byrow = TRUE)
group.names <- c(group.names)
df2 <- data.frame(group = group.names, m2)
colnames(df2)[2:10] <- var.names
CreateRadialPlot(group.line.width = df2, plot.extent.x = 1.5)```