I have a problem with scale of legend, because text of legend crosses borders of plot. Any idea, how can I fix it? Split or resize? Data cleaning: F ...
I have a problem with scale of legend, because text of legend crosses borders of plot. Any idea, how can I fix it? Split or resize? Data cleaning: F ...
There are plenty of threads here about using a QQ plot, but I'm trying to figure out how to hand calculate one and in the process I wanted to emulate ...
How to use the raw string (such as len/s) in the colnames in ggpubr::ggboxplot in R? It seems due to purrr::map with error ...
I have a multiple plot within a plot, generated by ggpubr::ggarrange(). However the legends only appears for the first plot i.e., A and B. I wanted to ...
This question was migrated from Cross Validated because it can be answered on ...
I'm trying to produce a grid of ggplots, with each column having a title. I've tried a few approaches, but the best one I've found so far is below. Th ...
I am trying to create a more presentable graph for my research using R. I have created these faceted boxplots, but I would like them to have gridlines ...
Using this data set: I created the following code to create graphs with build-in Mann-Whitney results. which results in (an almost) nice graph.. ...
Is it possible to add in the text of the correlation matrix plot the exact p-value and/or 95% CI, next to where the point estimate is mentioned, by ad ...
I'm trying to plot two box-plots of paired observations with using ggpaired and introdataviz::geom_split_violin. Here The problem is I have a lot of ...
In MDS with R, how shall I specify the scale that I want to use? For example, I want Dim.1 to have a scale of -80 to 60, and Dim.2 to have a scale of ...
Explanation of the problem I have extensive if, else if, loops that produce graphs in ggplot2. Each graph gets stored with a unique object name, with ...
. Answers to this question are eligible for a +50 reputation bounty. us ...
I created a heatmap and a pca plot and tried to merge them as single figure. But the are not displayed as single figure. The output was without pca ...
Currently all the points are labeled. If I want to label only specific points in this diagram, but not all the points, how can I accomplish this? I wa ...
I am looking to wrap the following formula into a function for easier end use: however the following returns the error "Error in is.factor(x) : obj ...
I' like to create the plots using the arrange function of ggpubr package in a loop with two levels. First, I need a plot for each places, and inside e ...
I was planning to produce a graph similar to this, which uses frequency data, but I can't seem to figure it out. I was thinking that the legends be ...
I want to use the for loop to create a scatterplot for each variable and then arrange all plots together. I have tried using ggarrange but I am n ...
I created this ggboxplot (from ggpubr) with the following code in R. I want to reduce the width of the plot, i.e. get the boxes closer together. But a ...