234 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
1
answer
140
views
How to repel texts equidistantly on a secondary y-axis of a facet_grid?
It is possible to insert variable names and their specific values between the last column of facets and the strips of a facet_grid, using the scales_y function provided by Stefan.
However, these ...
0
votes
3
answers
115
views
ggrepel still overlapping text
I am creating multiple graphs with the same basic template, just with different subjects as the data source. Sometimes two points can be very close so I wanted to use ggrepel to make sure the text ...
4
votes
2
answers
131
views
How can I arrange the labels of the x-axis in an alluvial plot using ggrepel?
I am building an alluvial plot to show if categories of species Red Listining are present or not in legislations. Some groups like "Lampreys" and "Dragonflies and damselflies" are ...
0
votes
0
answers
182
views
geom_text_repel() throws "could not find function 'replace_null'" when using variable label in aes()
I'm building a function in R that creates correlation plots using ggplot2 and ggrepel. The function works fine on my Windows machine, but when my colleague runs it on macOS with the same R version (4....
1
vote
2
answers
99
views
Issue with geom_text_repel() in ggplot2 – Curved Segment Not Working
I’m experiencing an issue with geom_text_repel() in ggplot2.
I would like the connecting segment to be curved for aesthetic reasons, but I haven’t been able to achieve the desired result despite ...
3
votes
1
answer
64
views
Incompatibility between `position_dodge` and `geom_text_repel` on `ggplot2`
I am facing problems on dodging a geom_text_repel label on a graph. I looked other similar questions on the Forum but I was not able to understand exactly how to force the dodging on these labels.
...
0
votes
0
answers
22
views
Question about Formatting Labels in ggplot2 with geom_text_repel [duplicate]
I am writing to ask a specific question regarding the possibility of formatting a part of the text in bold within a label created with geom_text_repel (ggrepel) in ggplot2.
In my case, I have the ...
2
votes
2
answers
336
views
geom_label_repel() labels not on the correct points
I'm working on some plots using ggplot2 to represent likert scale data, and have a need to repel some labels, but not others. Following plenty of answers found here on StackOverflow, I came up with ...
1
vote
1
answer
66
views
R ggplot - ggrepel label positions
Been trying to make a pie chart with ggrepel labels. The chart looks fine itself but the label positions are way off from what they should be.
lightingdf <- structure(
list(
Light = c(
...
1
vote
0
answers
39
views
stacked barplot with repel legend manipulate single labels e.g. in italics [duplicate]
So I would like to manipulate some labels I have added to a stacked bar plot through repel. The problem is, that some names will have to be in italics, while others don't so I am trying to specify ...
0
votes
0
answers
65
views
geom_label_repel segment anchor point control
I'm using ggrepel::geom_label_repel and trying to get the end segment line to attach to the same left aligned location on the label boxes. I have a dataset with varying clustering scales and can't get ...
0
votes
1
answer
71
views
How to label out of bound point?
For x or y have Inf value, how to label the point?
ggplot(data.frame(x = 0, y = Inf, row = "oob"), aes(x, y)) +
geom_point() +
scale_y_continuous(limits = c(-1, 1), oob = scales::...
4
votes
2
answers
109
views
Is it possible to suppress just one tick mark label?
I'm generating a plot and I am trying to figure out how to suppress just one tick-mark label (not the mark -- just the label).
Here's some example code:
x1 <- seq(0, 100, by = 1)
y1 <- runif(n = ...
0
votes
3
answers
1k
views
Labels with ggrepel::geom_text_repel, not all labels showing
geom_text_repel doesn't display the labels for several several points where y is 0:
However, I'm able to adjust geom_text to get the labels inside the plot:
Do y'all know how to get the labels using ...
0
votes
1
answer
59
views
Labels of piechart incorrectly shown in ggplot2
I'm trying to piechart my DATA below, but the labels and colors seem to be misplaced.
Is there any specific setting to align the labels and colors?
library(ggrepel)
DATA <- read.table(header=T, ...