search for: ggpubr

Displaying 10 results from an estimated 10 matches for "ggpubr".

2024 Feb 05
1
ggarrange & legend
I'm sorry but that is not a working example. A working example needs to create the plots being used. For example, stealing some code from https://rpkgs.datanovia.com/ggpubr/reference/ggarrange.html #================================================================= data <https://rdrr.io/r/utils/data.html>("ToothGrowth")df <- ToothGrowthdf$dose <- as.factor <https://rdrr.io/r/base/factor.html>(df$dose)# Box plotbxp <- ggboxplot <https:...
2024 Feb 05
2
ggarrange & legend
Dear John Kane Dear R community Here my working example 1. Example that is working with legend=?top?. However, as mentioned, the legend is in the middle of the top axis. mylist<-list(p1, p2) dev.new(width=28, height=18) fig1<- ggarrange(plotlist=mylist, common.legend = TRUE, legend="top", labels = c("(A)", "(B)"), font.label = list(size = 18, color =
2024 Aug 16
1
boxplot notch
...:/Users/Sibylle St?ckli/Desktop/") > #.libPaths() > getwd() > > #libraries laden > library("ggplot2") > library("gridExtra") > library(scales) > library(nlme) > library(arm) > library(blmeco) > library(stats) > library(dplyr) > library(ggpubr) > library(patchwork) > library(plotrix) > library(tidyverse) > library(dplyr) > > #read data > MS = read.delim("Test1.txt", na.strings="NA") > names(MS) > > MS$Jahr<-as.numeric(MS$Jahr) > MS$Bio<-as.factor(MS$Bio) > str(MS) > > ##...
2024 Aug 16
2
boxplot notch
...1 2015 0 NA 2 2018 0 NA 3 2020 0 3.5 Code setwd("C:/Users/Sibylle St?ckli/Desktop/") #.libPaths() getwd() #libraries laden library("ggplot2") library("gridExtra") library(scales) library(nlme) library(arm) library(blmeco) library(stats) library(dplyr) library(ggpubr) library(patchwork) library(plotrix) library(tidyverse) library(dplyr) #read data MS = read.delim("Test1.txt", na.strings="NA") names(MS) MS$Jahr<-as.numeric(MS$Jahr) MS$Bio<-as.factor(MS$Bio) str(MS) ##### boxplot BFF QI MS1<- MS %>% filter(QI_A!="NA")...
2019 Nov 24
2
Can't build R 3.6.1 or 3.5.3 on Ubuntu 18.04 LTS
Hi, Yes I am aware of it. And yes, I have libicu60 installed. Is it the configure script making a mistake? Best, Saren On 11/22/19 4:12 PM, Jeroen Ooms wrote: > On Fri, Nov 22, 2019 at 2:58 PM Saren Tasciyan <saren.tasciyan at ist.ac.at> wrote: >> Hi, >> >> I am trying to build a more recent version (3.6.1 or 3.5.3) of R on >> Ubuntu 18.04 LTS. > Are you
2017 Jun 29
1
Changing ggplot2 legend key/title to custom text
Hi Petr and thanks for your reply, That's the problem I don't want to modify the labels of my legends but the title of the legend in itself inserting my custom text :) Take for example the 1st graph in this tutorial http://www.sthda.com/english/wiki/ggpubr-r-package-ggplot2-based-publication-ready-plots I want to change the "sex" in "sex subscript 2" or " (sex/sex[2]+Q) Thanks again, Marios Barlas PhD Candidate CMOS & Memory Integration Advanced Memory Group Leti, technology research institute Commissariat ? l??nergie...
2024 Aug 16
1
boxplot notch
I don't see anything obviously wrong here. There may be something subtle, but we probably won't be able to help without a reproducible example ... On 2024-08-16 9:24 a.m., SIBYLLE ST?CKLI via R-help wrote: > Dear community > > > > I tried the following code using geom_boxplot() and notch=TRUE. Does anyone > know if the command ?notch=TRUE? is at the wrong place in
2018 May 30
4
par(mfrow=c(3,4)) problem
Hi all; I need to put 12 different plot2 into the same matrix. So my array for the matrix will be par(mfrow=c(3,4)). I am running ggplot2 to produce my 12 plots. For some reason, par(mfrow=c(3,4)) did not turn out 3*4 matrix. my basic R codes for each plot is par(mfrow=c(3,4)) library(ggplot2) p <- ggplot(a, aes(x=Genotypes, y=Plant_hight, size=Plant_hight, color=Showing_rate)) + . . Best
2017 Jun 29
0
Changing ggplot2 legend key/title to custom text
Hi There are plenty of examples https://stackoverflow.com/questions/6202667/how-to-use-subscripts-in-ggplot2-legends-r https://stackoverflow.com/questions/19507742/using-expressionpaste-to-insert-math-notation-into-a-ggplot-legend which you can modify. If you say "but it wont' seem to work" how can we know what does it mean? Plotmath expressions are rather tricky, especially if
2017 Jun 29
2
Changing ggplot2 legend key/title to custom text
Hi all, ok I have this issue: I want to change my graphs legends to custom text, often requiring the use of superscripts/subscripts I tried to use this instruction I found on stack overflow: labs(x = "R(Ohm)", y= "CDF", aesthetic= " Content (%)" ) but it wont' seem to work. Also tried bquote for super/ subscripts xlab(bquote(~x~/(~x~ + ~MO[2]~)*