Displaying 20 results from an estimated 64 matches for "ckli".
Did you mean:
cali
2024 Apr 18
2
Import multiple tif raster
Dear community
Dear Ivan
Thanks a lot. The code works now. Solution: direct and full path to the .tif files.
I confused back and forward slash
#first import all files in a single folder as a list
rastlist <- list.files(path = "C:/Users/Sibylle St?ckli/Desktop/NCCS_Impacts_Lot2_2022/InVEST/Species_Input/valpar_bee_presence", pattern='.tif$', all.files= T, full.names= T)
At the end I got a warning
#to run a function on an individual raster e.g., plot
> boxplot(allrasters[[1]])
>
> p<-boxplot(allrasters[[1]])
Warning mes...
2024 Apr 18
1
Import multiple tif raster
Dear Ivan
Thanks a lot.
I tried now to provide the full path. However probably the "?" in the path produces the error, would that be possible?
> #first import all files in a single folder as a list
> rastlist <- list.files(path = "C:\Users\Sibylle St?ckli\Desktop\NCCS_Impacts_Lot2_2022\InVEST\Species_Input\valpar_bee_presence", pattern='.tif$', all.files= T, full.names= T)
Error: '\U' used without hex digits in character string (<input>:1:35)
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov a...
2024 Aug 16
2
allequal diff
...d to call getValues a second time? I suppose you mean to first 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...
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
`all...
2024 Nov 06
1
Using multiple dat files
...time.scale = year, 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(fi...
2024 Aug 16
1
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' value mismatch: 9544032 in current 66532795 in target"
Use is.na() on getValues() o...
2024 Aug 16
2
boxplot notch
...28.7
3 2020 1 29.8
1 2015 1 30.1
2 2018 1 NA
3 2020 1 16.9
1 2015 0 6.5
2 2018 0 7.9
3 2020 0 10.2
1 2015 0 11.2
2 2018 0 18.5
3 2020 0 29.5
1 2015 0 25.1
2 2018 0 16.1
3 2020 0 15.9
1 2015 0 10.1
2 2018 0 8.4
3 2020 0 3.5
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)
#r...
2024 Aug 18
2
allequal diff
...s). 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 r2...
2024 Aug 22
1
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*`, value = c("r", "s", "r2")) :
>
> incorrect number of layer names...
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...
2024 Aug 16
1
boxplot notch
...a clear explanation of what you are trying to
do in the geom_boxplot() call and how it uses the summarised data tibble.
It may even be that if you do that, you will find what's causing the
problem!? (I speak from bitter experience!!)
Very best (all),
Chris
On 16/08/2024 17:51, SIBYLLE ST?CKLI via R-help wrote:
> Farm_ID Jahr Bio QI_A
> 1 2015 1 9.5
> 2 2018 1 15.7
> 3 2020 1 21.5
> 1 2015 1 50.5
> 2 2018 1 12.9
> 3 2020 1 11.2
> 1 2015 1 30.6
> 2 2018 1 28.7
> 3 2020 1 29.8
> 1 2015 1 30.1
> 2 2018 1 NA
> 3 2020 1 16.9
> 1 2015 0 6.5
> 2 2018...
2024 Aug 18
2
allequal diff
...ple dispatch) and spend some time with it. There are many good
ones out there. This S3 system is widely used within R and many
packages, so doing this sort of homework now should serve you well in
your future R journey.
All IMO obviously.
Cheers,
Bert
On Sun, Aug 18, 2024 at 11:00?AM SIBYLLE ST?CKLI via R-help
<r-help at r-project.org> wrote:
>
> Dear Ivan
>
> Thanks a lot for this very nice example.
>
> Is it true that all.equal just compares y values?
> Based on this help here I think so and the value I got is the difference for the y-values.
> https://www.stato...
2024 Nov 07
0
Using multiple dat files
?s 18:59 de 06/11/2024, Sibylle St?ckli escreveu:
> 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])
> It seems therefore that there is...
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 doT...
2024 Feb 05
2
ggarrange & legend
...ommon.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 Jul 18
1
ggplot two-factor legend
...There might be a syntax for specifying correlated grouping, but I don't know it... I normally just verify that my data meets the requirements to be automatically identified as correlated if that is my goal, since that is a prerequisite anyway.
On July 18, 2024 8:27:05 AM PDT, "SIBYLLE ST?CKLI via R-help" <r-help at r-project.org> wrote:
>Hi
>
>I am using ggplot to visualise y for a two-factorial group (Bio: 0 and 1) x
>= 6 years. I was able to adapt the colour of the lines (green and red) and
>the linetype (solid and dashed).
>Challenge: my code produces now...
2024 Apr 18
1
Import multiple tif raster
...s anyone now about the error "subscripts out of bounds"?
I am not sure about the check with alllrasters: is list() ok or should there
be a number (the number of imported .tif files?
Kind regards
Sibylle
> library(terra)
> library(raster)
> getwd()
[1] "C:/Users/Sibylle St?ckli/Desktop"
>
> #first import all files in a single folder as a list
> rastlist <- list.files(path =
"/NCCS_Impacts_Lot2_2022/InVEST/Species_Input/bee_presence",
pattern='.tif$', all.files= T, full.names= T)
>
> #import all raster files in folder using lappl...
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...
2024 Nov 06
3
Using multiple dat files
Dear community
To import multiple .dat weather files I am using list.files().
I intend to use the R package ?ClimInd? to calculate different agroclimatic indicators.
Question: Is there another solution to import multiple .dat files so that I can select elements from the list, e.g. one specific weather file (example AAR_DailyWeather)?
# Import multiple .dat files weather data
filelist <-
2024 Aug 18
1
allequal diff
...e many good
> ones out there. This S3 system is widely used within R and many
> packages, so doing this sort of homework now should serve you well in
> your future R journey.
>
> All IMO obviously.
>
> Cheers,
> Bert
>
>
> On Sun, Aug 18, 2024 at 11:00?AM SIBYLLE ST?CKLI via R-help
> <r-help at r-project.org> wrote:
>> Dear Ivan
>>
>> Thanks a lot for this very nice example.
>>
>> Is it true that all.equal just compares y values?
>> Based on this help here I think so and the value I got is the difference for the y-values...