Displaying 20 results from an estimated 32 matches for "stoeckli".
2023 Nov 24
1
ggplot adjust two y-axis
...,2237,611,403,240,280,0,0), 2,7))
barplot(F1, beside = TRUE, col = c("blue", "grey")) axis(2,
at=c(0,10,20,30,40,50,60, labels=c(0,10,20,30,40,50,60))) axis(4, at =
c(0,500,1000,1500,2000,2500), labels =
c(0,500,1000,1500,2000,2500))
-----Message d'origine-----
De?: sibylle.stoeckli at gmx.ch <sibylle.stoeckli at gmx.ch>
Envoy??: 24 novembre 2023 11:27
??: 'Charles-?douard Gigu?re' <ce.giguere at gmail.com>; r-help at r-project.org
Objet?: RE: [R] ggplot adjust two y-axis
Dear Charles-Edouard
Thanks a lot. Yes indeed barplot sounds excellent.
Unfortunat...
2023 Nov 24
1
ggplot adjust two y-axis
...10,20,30,40,50,60, labels=c(0,10,20,30,40,50,60)))
axis(4, at = c(0,500,1000,1500,2000,2500), labels =
c(0,500,1000,1500,2000,2500))
Kind regards
Sibylle
-----Original Message-----
From: Charles-?douard Gigu?re <ce.giguere at gmail.com>
Sent: Friday, November 24, 2023 3:57 PM
To: sibylle.stoeckli at gmx.ch; r-help at r-project.org
Subject: RE: [R] ggplot adjust two y-axis
Hi,
I don't know the axis mecanism well enough in ggplot but using the original
barplot function you can add an axis on the right using the axis function.
Here is an example:
test <- as.table(matrix(c(2,10,3,11...
2023 Nov 24
1
ggplot adjust two y-axis
...tion you can add an axis on the right using the axis function.
Here is an example:
test <- as.table(matrix(c(2,10,3,11), 2,2))
barplot(test, beside = TRUE, col = scales::brewer_pal(palette = 1)(2))
axis(4, at = c(0, 5, 10), labels = c(0,50,100))
-----Message d'origine-----
De?: sibylle.stoeckli at gmx.ch <sibylle.stoeckli at gmx.ch>
Envoy??: 24 novembre 2023 09:27
??: 'Charles-?douard Gigu?re' <ce.giguere at gmail.com>; r-help at r-project.org
Objet?: RE: [R] ggplot adjust two y-axis
Dear Charles-Edouard
Thanks a lot.
So no way in R to just simply have one ggplot wi...
2023 Nov 24
1
ggplot adjust two y-axis
...y use two graphs
that I name gg1 and gg2 and join them using gridExtra::grid.arrange(gg1,
gg2). This way, the red part of your graph is easier to interpret.
Have a nice day,
Charles-?douard
-----Message d'origine-----
De?: R-help <r-help-bounces at r-project.org> De la part de
sibylle.stoeckli at gmx.ch
Envoy??: 24 novembre 2023 05:52
??: r-help at r-project.org
Objet?: [R] ggplot adjust two y-axis
Dear R-users
Is it possible to adjust two y-axis in a ggplot differently?
- First y axis (0-60)
- Second y axis (0-2500)
### Figure 1
ggplot(Fig1,aes(BFF,Wert,fill=Studien_Flaeche))+
geo...
2024 Feb 05
1
ggarrange & legend
...ylist, common.legend = TRUE, legend="top",
labels = c("(A)", "(B)"), font.label = list(size = 18, color =
"black"), ncol=2)
fig1
#=====================================================================================
On Mon, 5 Feb 2024 at 08:44, <sibylle.stoeckli at gmx.ch> wrote:
> 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...
2024 Feb 05
2
ggarrange & legend
...t, common.legend = TRUE, legend="topright", labels = c("(A)", "(B)"), font.label = list(size = 18, color = "black"), ncol=2)
fig1
Kind regards
Sibylle
From: John Kane <jrkrideau at gmail.com>
Sent: Monday, February 5, 2024 1:59 PM
To: sibylle.stoeckli at gmx.ch
Cc: r-help at r-project.org
Subject: Re: [R] ggarrange & legend
Could you supply us with a MWE (minimal working example)of what you have so far?
Thanks.
On Mon, 5 Feb 2024 at 05:00, SIBYLLE ST?CKLI via R-help <r-help at r-project.org <mailto:r-help at r-project.org>...
2010 Oct 27
0
as.list rcode
-------- Original-Nachricht --------
Datum: Wed, 27 Oct 2010 15:09:59 +0200
Von: "Sibylle St?ckli" <sibylle.stoeckli at gmx.ch>
An: Rhelp <r-help at r-project.org>
Betreff: Fwd: as.list
-------- Original-Nachricht --------
Datum: Wed, 27 Oct 2010 15:03:48 +0200
Von: "Sibylle St?ckli" <sibylle.stoeckli at gmx.ch>
An: Rhelp <r-help at r-project.org>
Betreff: as.list
Dear R-users
so...
2024 Feb 26
1
igraph_vertex
....off() :
unable to open TIFF file 'figures/AES_network_bymembership.tiff'
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Monday, February 26, 2024 10:15 AM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] igraph_vertex
? Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> In the following code, which loads the tiff file, I get the following
> error
This warning is definitely worth investigating, but it shouldn't...
2024 Apr 18
2
Import multiple tif raster
...)
Error: '\U' used without hex digits in character string (<input>:1:35)
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Thursday, April 18, 2024 2:39 PM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] Import multiple tif raster
? Thu, 18 Apr 2024 11:08:33 +0200
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> > #to check the index numbers of all imported raster list elements
> > allrasters
> list()
> >
> > #call single...
2010 Oct 27
1
Fwd: as.list
-------- Original-Nachricht --------
Datum: Wed, 27 Oct 2010 15:03:48 +0200
Von: "Sibylle St?ckli" <sibylle.stoeckli at gmx.ch>
An: Rhelp <r-help at r-project.org>
Betreff: as.list
Dear R-users
sorry, here Rcode included (attachment has been removed)
I would like to read a txt file as list, to select rows and columns, and to create barplots.
(1) selection of parameter site and part: ok
(2) read txt f...
2024 Apr 18
1
Import multiple tif raster
...Error: '\U' used without hex digits in character string (<input>:1:35)
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Thursday, April 18, 2024 2:39 PM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] Import multiple tif raster
? Thu, 18 Apr 2024 11:08:33 +0200
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> > #to check the index numbers of all imported raster list elements
> > allrasters
> list()
> >
> > #call single...
2013 Aug 22
1
varpart
Dear R-users
I applied vegan's varpart function to partition the effects of
explanatory matrices. Adj. R square for the unique fraction [a] is
0.25. Does anyone know why the decomposition by hand using rda gives
me a different result for [a] (constrained proportion is 0.32)? I used
cbind() for the conditional fractions, but it should be similar to
condition()?
Thanks very much
2024 Feb 25
1
igraph_vertex
...",
vertex.label.font=1,
edge.curved=0.5,
HERE --> edge.width= network, <-- HERE
layout=layout_with_mds(.))
Try to comment out his line and see what happens. What network data
variable should be mapped to edge width?
Best,
Kimmo
su, 2024-02-25 kello 09:59 +0100, sibylle.stoeckli at gmx.ch kirjoitti:
> Dear coummunity
>
> Thanks a lot to David and Kimmo. Yes I see now that I need to provide
> the two raw tables. Find here the reproducible example.
>
> Kind regards
> Sibylle
>
> # R-labraries
> library(circlize)
> library(ggplot2)
> lib...
2023 Nov 24
1
ggplot adjust two y-axis
Dear R-users
Is it possible to adjust two y-axis in a ggplot differently?
- First y axis (0-60)
- Second y axis (0-2500)
### Figure 1
ggplot(Fig1,aes(BFF,Wert,fill=Studien_Flaeche))+
geom_bar(stat="identity",position='dodge')+
scale_y_continuous(name="First Axis", sec.axis=sec_axis(trans=~.*50,
name="Second Axis"))+
2024 Apr 18
1
Import multiple tif raster
? Thu, 18 Apr 2024 11:08:33 +0200
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> > #to check the index numbers of all imported raster list elements
> > allrasters
> list()
> >
> > #call single raster element
> > allrasters[[1]]
> Error in allrasters[[1]] : subscript out of bounds
`allrasters` is an empty list, so it doesn't have a
2024 Feb 26
1
igraph_vertex
....5,
> HERE -->??? edge.width= network,? <-- HERE
> ??? layout=layout_with_mds(.))
>
> Try to comment out his line and see what happens. What network data
> variable should be mapped to edge width?
>
> Best,
> Kimmo
>
> su, 2024-02-25 kello 09:59 +0100, sibylle.stoeckli at gmx.ch?kirjoitti:
> > Dear coummunity
> >
> > Thanks a lot to David and Kimmo. Yes I see now that I need to
> > provide
> > the two raw tables. Find here the reproducible example.
> >
> > Kind regards
> > Sibylle
> >
> > # R-labrarie...
2024 Feb 05
1
ggarrange & legend
Could you supply us with a MWE (minimal working example)of what you have so
far?
Thanks.
On Mon, 5 Feb 2024 at 05:00, SIBYLLE ST?CKLI via R-help <
r-help at r-project.org> wrote:
> Dear R community
>
> It is possible to adjust the legend in combined ggplots using ggarrange
> with
> be positions top, bottom, left and right.
> My question: Is there a function to change the
2024 Feb 26
1
igraph_vertex
? Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> In the following code, which loads the tiff file, I get the following
> error
This warning is definitely worth investigating, but it shouldn't
interrupt your code. Does the figure come out wrong after you see this
warning?
> In doTryCatch(return(expr), name, parentenv, handler) :
2024 Feb 25
1
igraph_vertex
Dear coummunity
Thanks a lot to David and Kimmo. Yes I see now that I need to provide the two raw tables. Find here the reproducible example.
Kind regards
Sibylle
# R-labraries
library(circlize)
library(ggplot2)
library(igraph)
library(tidyverse)
library(RColorBrewer)
library(stringi)
library(scico)
library(plotly)
library(ggraph)
# Tables
aes<-read.csv("Test_adjac.csv",
2024 Mar 22
1
geom_edge & color
...etwork" does not
have an attribute "community". I use the existing "Subcategory_type"
instead, because I had no time to debug this problem :-)
I do not know whether this produces what you expect or want to visualise.
HTH,
Kimmo
pe, 2024-03-22 kello 08:59 +0100, sibylle.stoeckli at gmx.ch kirjoitti:
> Dear community
>
> ?
>
> Find enclosed the full working example.
>
> ?
>
> Many thanks
>
> Sibylle
>
> ?
>
> Test_cat.csv
>
>
> Names
>
> Subcategory_type
>
> sources.cyto
>
> source
>
>...