Displaying 20 results from an estimated 50 matches for "stoeck".
Did you mean:
stock
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.
Unfortun...
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,...
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...
2024 Aug 18
2
allequal diff
...nates). Test if x-y coordinates of both 25-m-pixel rasters are the same. Ther may be a small shift or differences in the number of decimal places.
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Friday, August 16, 2024 11:45 AM
To: sibylle.stoeckli at gmx.ch
Cc: 'SIBYLLE ST?CKLI via R-help' <r-help at r-project.org>
Subject: Re: [R] allequal diff
? Fri, 16 Aug 2024 11:32:58 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> # values and mask r1
> r1 <- getValues(r1)
> mask1 <- is.na(r1)
> # Do the same for r...
2024 Aug 16
2
allequal diff
...st prepare a mask using is.na without getValues and then in the second step your code?
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Friday, August 16, 2024 9:28 AM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] allequal diff
? Fri, 16 Aug 2024 07:19:38 +0200
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> Is it possible to consider na.rm=TRUE?
> > all.equal(getValues(r1), getValues(r2_resampled), tolerance = 0)
>
> [1] "'is.NA...
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))+
g...
2024 Aug 23
1
paired raster boxplots
? Fri, 23 Aug 2024 10:15:55 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> > s<-sf$Unterregio
> > r<-allrasters_pres[[1]]
> >
> >
> > rs <- stack(r, s)
> > names(rs) <- c('r', 's')
> Error in `names<-`(`*tmp*`, value = c("r", "s")) :
> incorrect nu...
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 10:35:35 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> what do you mean by use is.na() in getValues(). So I need to call
> getValues a second time?
Not necessarily, but it's one of the options. I was thinking along the
lines of:
values1 <- getValues(r1)
mask1 <- is.na(values1)
# Do the same for r2
# Combine t...
2024 Aug 24
1
paired raster boxplots
...ot;DEBioBedeu" "FRBioBedeu" "ITBioBedeu"
[15] "geometry"
> s<-sf$Unterregio
> r<-allrasters_pres[[1]]
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Friday, August 23, 2024 5:30 PM
To: sibylle.stoeckli at gmx.ch
Cc: 'SIBYLLE ST?CKLI via R-help' <r-help at r-project.org>
Subject: Re: [R] paired raster boxplots
? Fri, 23 Aug 2024 10:15:55 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> > s<-sf$Unterregio
> > r<-allrasters_pres[[1]]
> >
> >
> &g...
2024 Aug 16
1
allequal diff
...k2)])
[1] "'is.NA' value mismatch: 389 in current 56989152 in target"
--> so there is just a mismatch in NA not in the xy pixels, right?
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Friday, August 16, 2024 10:51 AM
To: sibylle.stoeckli at gmx.ch
Cc: 'SIBYLLE ST?CKLI via R-help' <r-help at r-project.org>
Subject: Re: [R] allequal diff
? Fri, 16 Aug 2024 10:35:35 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> what do you mean by use is.na() in getValues(). So I need to call
> getValues a second time?
No...
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.n...
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 11:32:58 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> # values and mask r1
> r1 <- getValues(r1)
> mask1 <- is.na(r1)
> # Do the same for r2
> r2 <- getValues(r2_resampled)
> mask2 <- is.na(r2)
>
> # Combine the masks
> all.equal(r1[!(mask1 & mask2)], r2[!(mask1 & mask2)])
Let&...
2024 Aug 18
2
allequal diff
...pixel rasters are the same. Ther may be a small shift or differences in the number of decimal places.
>
> Kind regards
> Sibylle
>
>
>
> -----Original Message-----
> From: Ivan Krylov <ikrylov at disroot.org>
> Sent: Friday, August 16, 2024 11:45 AM
> To: sibylle.stoeckli at gmx.ch
> Cc: 'SIBYLLE ST?CKLI via R-help' <r-help at r-project.org>
> Subject: Re: [R] allequal diff
>
> ? Fri, 16 Aug 2024 11:32:58 +0200
> <sibylle.stoeckli at gmx.ch> ?????:
>
> > # values and mask r1
> > r1 <- getValues(r1)
> > mas...
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>...
2024 Nov 06
1
Using multiple dat files
..., precip = Precip,...)
where precip (small "p") is a formal argument of the dd() function and
Precip is a column in the data frame W[[1]]. If this is wrong, my
apologies, and feel free to ignore without responding.
Best,
Bert
On Wed, Nov 6, 2024 at 10:59?AM Sibylle St?ckli <sibylle.stoeckli at gmx.ch>
wrote:
> Dear Rui
> Dear Bert
>
> Many thanks
>
> Solution
> filelist <- list.files(path =
> "O:/Data-Work/2.../Daten_RA-MeteoCH_1990-2021", pattern='*.dat', all.files=
> T, full.names= T)
> AAR<-read.table(filelist[1])
>
>...
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...
2024 Aug 18
1
allequal diff
...a small shift or differences in the number of decimal places.
>>
>> Kind regards
>> Sibylle
>>
>>
>>
>> -----Original Message-----
>> From: Ivan Krylov <ikrylov at disroot.org>
>> Sent: Friday, August 16, 2024 11:45 AM
>> To: sibylle.stoeckli at gmx.ch
>> Cc: 'SIBYLLE ST?CKLI via R-help' <r-help at r-project.org>
>> Subject: Re: [R] allequal diff
>>
>> ? Fri, 16 Aug 2024 11:32:58 +0200
>> <sibylle.stoeckli at gmx.ch> ?????:
>>
>>> # values and mask r1
>>> r1 <...
2024 Aug 23
1
paired raster boxplots
...or in `names<-`(`*tmp*`, value = c("r", "s")) :
incorrect number of layer names
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Thursday, August 22, 2024 4:50 PM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] paired raster boxplots
? Thu, 22 Aug 2024 08:46:03 +0200
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> rr2s <- stack(r, r2,s)
> > names(rs) <- c('r', 's', 'r2')
>
> Error in `names<-`(`*tmp*`, val...
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'...
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 singl...