Re: [R] [Tagged] Re: Question about Date Object and time zones

2024-09-25 Thread Jeff Newmiller via R-help
... or a timezone string. ... or do what I usually do and use POSIXct for dates as well as times, self-managing use of midnight local time for "dates". On September 25, 2024 5:40:37 AM EDT, Ivan Krylov via R-help wrote: >24 сентября 2024 г. 17:10:13 GMT+03:00, Luca Brinkmann via R-help > пише

Re: [R] Problem with converting grib file to excel

2024-09-25 Thread javad bayat
Dear all; Many thanks for your responses. Actually it is not completely a GIS file, it is a data file which stores meteorological data of a specific region. But the site allows downloading with grib format and as I searched to read this type of file in R, I found the Raster Package. In python it is

[R] plotting sf with lattice

2024-09-25 Thread Waichler, Scott R via R-help
Hi, I want to plot 2d cross sections from physical model output in a 3d domain, where the same cross section is represented at different times in the lattice panels. The cross section is a set of sf polygons, where one attribute is being plotted, with a color ramp. Can anyone point me to an

Re: [R] Problem with converting grib file to excel

2024-09-25 Thread Roy Mendelssohn - NOAA Federal via R-help
At least for me the dataset file did not come through. I will look at it if it can be made available. It does look like the finial step of reading the data into raster failed, so then did the rest of th commands. -Roy > On Sep 25, 2024, at 3:24 PM, CALUM POLWART wrote: > > Noticeable lack

Re: [R] Problem with converting grib file to excel

2024-09-25 Thread CALUM POLWART
Noticeable lack of silence in the group on this one. I've not got time to test currently. But my experience of geo location files - they often had more than 2 dimensional data. In other words you might have a boundary of a region as an object with long and lat for maybe 100 data points making up t

[R] OFF TOPIC: "Scientific rigor proponents retract paper on benefits of scientific rigor"

2024-09-25 Thread Bert Gunter
This is off topic and only tangentially related to statistics or R (through "HARK"ing -- Hypothesizing After Results are Known). But given the research interests of many on this list, I thought others would enjoy it. My apologies if I have overstepped (please let me know if so). Also, PLEASE DON'T

[R] [R-pkgs] GmooG, ChessGmooG, FilmsGmooG, ComradesM

2024-09-25 Thread Antony Unwin
Dear all, GmooG, ChessGmooG, FilmsGmooG, ComradesM are dataset packages accompanying my book “Getting (more out of) Graphics” (CRC Press 2024). They are now available on CRAN. R code producing the graphics in the book will be put online in a few weeks. Regards Antony Professor Antony Unwin

Re: [R] Question about Date Object and time zones

2024-09-25 Thread Kimmo Elo
Hi, I might have misunderstood your point, but why should a Date object store a timezone, since timezone is an attribute of time, not date? Your tz-examples force R to present a timezone, resulting - this is my assumption - to default (=UTC) as there is no other information available. Best, Ki

Re: [R] How to install this package

2024-09-25 Thread Ivan Krylov via R-help
В Wed, 25 Sep 2024 18:53:02 +0530 Christofer Bogaso пишет: > Error in dyn.load(dynlib <- getDynlib(dir)) : > > unable to load shared object > '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/rgl/libs/rgl.so': > > > dlopen(/Library/Frameworks/R.framework/Versions/4.4-ar

[R] How to install this package

2024-09-25 Thread Christofer Bogaso
Hi, I would like to install an R library from https://cran.r-project.org/src/contrib/Archive/termstrc/ I executed below code without success. Any help would be appreciated. > install.packages('/Users/termstrc_1.3.tar.gz', repos = NULL, type="source") * installing *source* package ‘termstrc’ ..

Re: [R] Question about Date Object and time zones

2024-09-25 Thread Ivan Krylov via R-help
24 сентября 2024 г. 17:10:13 GMT+03:00, Luca Brinkmann via R-help пишет: > My current > understanding is, that a Date object does only save the days from the > origin and no more information about timezones or other information > (please correct me if I am wrong). You are correct. > the date o

Re: [R] Help needed! Pre-processing the dataset before splitting - model building - model tuning - performance evaluation

2024-09-25 Thread Rui Barradas
Às 06:04 de 24/09/2024, Bekzod Akhmuratov escreveu: Below is the link for a dataset on focus. I want to split the dataset into training and test set, use training set to build the model and model tune, use test set to evaluate performance. But before doing that I want to make sure that original d