I have the above data set, and I plotted the results as follows: Now, I would like to add the Name of each individual to each line. Something t ...
I have the above data set, and I plotted the results as follows: Now, I would like to add the Name of each individual to each line. Something t ...
I'm struggling to create labels at the right end of a line plot with directlabels when I'm using more than one geom. Here is an example: This gives ...
I'm trying to use geom_text as the legend for my line graph, but I also need to have COUNT as labels (work requirement). When I run the code below, I ...
I have the following plot with true values (black line), fitted values (orange line) and forecasts (blue line). If you notice on the right, the fitte ...
I'm trying to do a plot with ggplot2 and trying to put labels at the right place on mean trajectories with confidence regions. Since I cannot share my ...
I have createg stacked barplot with the corresponding lables inside of the bars are. However, I would like to change the plot, such that position = fi ...
I have created an stacked barplot with the counts of a variables. I want to keep these as counts, so that the different bar sizes represent different ...
I've installed the "directlabels" package from http://directlabels.r-forge.r-project.org/, along with its dependency "quadprog". The first example fro ...
I have two functions I want to wrap together in a wrapping function for usability. The wrapping function includes a variable (a column name within a d ...
I would like to attach labels using geom_dl to a Kaplan–Meier (KM) plot produced by ggsurvplot. It works fine if I use the plot part of ggsurvplot. ...
I am trying to create a bar chart in ggplot where the widths of the bars are associated with a variable Cost$Sum.of.FS_P_Reduction_Kg. I am using the ...
I have some trouble changing the format of my line labels (colour and size). Can somebody point me in the right direction? Changing the size para ...
Here is a simple ggplot chart for two variables: Is it possible to label the last value of var1 and var2 using the expression like that: In my c ...
I recognize that this question is a close duplicate of this one, but the solution there no longer works (using method="last.qp"), so I'm asking it aga ...
Suppose I have some set of lines that I plot using ggplot and geom_line. I want to label these lines. I can do this using geom_dl from the directlabel ...
I've been trying to directly add labels to my linear model scatter plot, with some difficulty. I've read these articles (How to show directlabels afte ...
I have this data: I plot each colum in this way: the result is: Now, i would like to not use the legend, but labels on plot line, one label ...
I have a dataset where I am interested in looking at a score on a test and the percentage of people experiencing an event: I can plot it with the p ...
I have a two-panel lattice lineplot. I want to use the directlabels package to automatically label the lines in each plot. But I want to use a differe ...
I'm trying to compare two scalar fields and want to draw them in the same plot using contours labeling their values with directlabels. The thing is, I ...