similar to: lubridate v2.2 available on cran

Displaying 20 results from an estimated 1000 matches similar to: "lubridate v2.2 available on cran"

2010 Aug 31
0
New package: lubridate 0.1
Please find below the package announcement for the R package lubridate available from cran. Thank you, Garrett Grolemund Rice University ##lubridate Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones,
2010 Aug 31
0
New package: lubridate 0.1
Please find below the package announcement for the R package lubridate available from cran. Thank you, Garrett Grolemund Rice University ##lubridate Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones,
2012 Mar 30
1
lubridate:ymd_hm and coercion of class POSIXct. Smooth way to restore the date format.
Dear all, I wish to create a POSIXct variable from date and time variables using the ymd_hm function in package lubridate. In some cases data for time is missing, which causes a problem for ymd_hm. I wish to find a smooth way to handle this. # Some example data: x <- data.frame(date = c("2011-09-22", "2011-07-28"), time = c("15:00", NA)) x # paste date and
2012 Nov 16
2
lubridate concatenation issue
I took a look at Hadley's lubridate which seems a very neat package, but i am having a small problem with  concatenating lubridates to build vectors of it. Namely when function c( )  is applied to lubridate seems to change time to a local timezone in this particular case changing the date to previous one.  > d<-ymd('20111231') > d [1] "2011-12-31 UTC" > c(d) [1]
2009 Sep 09
1
Monkey patching +.POSIXt
Hi all, This summer I've been working with a grad student to bring more of the date time classes from JODA (http://joda-time.sourceforge.net/) into R. To make these work seamlessly with existing date time objects, we need to patch +.POSIXt. (The ruby community uses the term monkey-patching for this sort of ill-advised, by sometimes necessary, internal hackery, hence the title.) The problem is
2011 Feb 11
2
tzone and DST
I'm reading in ~3 years worth of data that includes hourly timestamps. Presumably to avoid DST confusion, all the data is in PST time zone -- no discontinuities in the spring or fall. The data comes in a csv file, which I'm reading with myvariable <- read.csv("my_data_file.csv",header=FALSE,
2011 Oct 23
1
Creating 2 week intervals (lubridate)
Hello, I have a list of dates in which I am going use for a time series analysis. I want to break these dates up into 2 week intervals and count the number of times a date appears in this interval. For example from Nov. 19, 2000 to Dec 2 ,2000 with the data listed below I want to return Start_date Count2000/11/19 4 Date: 2000/11/20 2000/11/21 2000/11/19 2000/11/29 My first approach was toa
2016 Dec 30
2
Conversión de datos a fechas
Agradezco la ayuda recibida me vino muy bien,,, el problema de instalar el paquete lubridate es que no está en los repositorios de Debian,,, al usar RStudio creo que se debe instalar en ~/R/x86_64-pc-linux-gnu-library previa compilación de fuente bajada de r-cran,,, cosa que será otro pedido de ayuda en el futuro si sale mal,,, Saludos Horacio El día 30 de diciembre de 2016, 7:05, Carlos Ortega
2014 Jul 17
3
FW: Selección eficiente de individuos
Hola, Otra forma, utilizando la función de intervalos y la que comprueba si otro intervalo se solapa del paquete "lubridate": #---------------------- library(lubridate) fe.chas <- data.frame( entra=c('2001-01-01','2001-06-01','2003-01-01') ,sale=c('2002-01-01','2002-06-01','2004-01-01') ) ref <-
2013 Dec 09
1
Plot mortality data and show trend
I have a mortality data over many years and I wish to plot the data and also add some smoother to clearly highlight the trend. How could I do that in R with base graphics or ggplot? I have the following sample data: require(lubridate) mdate<-seq(ymd('2000-01-01'),ymd('2010-12-31'), by = '1 day') death<- rnorm(4018, 80, 45) df<-cbind(mdate,death)
2012 Mar 06
0
lubridate 1.1.0
#lubridate lubridate makes it easier to work with dates and times by providing functions to identify and parse date-time data, extract and modify components of a date-time (years, months, days, hours, minutes, and seconds), perform accurate math on date-times, handle time zones and Daylight Savings Time. lubridate has a consistent, memorable syntax that makes working with dates less frustrating.
2012 Mar 06
0
lubridate 1.1.0
#lubridate lubridate makes it easier to work with dates and times by providing functions to identify and parse date-time data, extract and modify components of a date-time (years, months, days, hours, minutes, and seconds), perform accurate math on date-times, handle time zones and Daylight Savings Time. lubridate has a consistent, memorable syntax that makes working with dates less frustrating.
2011 Jun 29
1
median time period
Hello List I'm trying to calculate the median period (in months) of a set of time intervals (between two interventions). I have been playing with the lubridate package to create the intervals but I can't think of the right approach to get the median timeperiod. Toy code: library(lubridate) test <- c('08-04-22', '08-07-28', '09-03-02', '09-03-03',
2012 Jan 11
2
lubridate does not install on FreeBSD any more
With newest R devel #sessionInfo() R Under development (unstable) (2012-01-10 r58085) Platform: amd64-portbld-freebsd10.0 (64-bit) locale: [1] de_DE.ISO8859-15/de_DE.ISO8859-15/de_DE.ISO8859-15/C/de_DE.ISO8859-15/de_DE.ISO8859-15 attached base packages: [1] stats graphics grDevices utils datasets methods base I get the following error when I try to build and install lubridate from
2011 May 27
0
lubridate, as.POSIXct and a vector of times: bug or feature??
It took me some time to realize this annoying behavior was coming from lubridate. Perhaps this behavior is unexpected a result of cursory knowledge of it.... ## The expected behavior > sometimes=c(0,1,2,3)*60*60*24 > as.POSIXct( sometimes, origin='1970-01-01', tz='GMT') [1] "1970-01-01 GMT" "1970-01-02 GMT" "1970-01-03 GMT" "1970-01-04
2020 Jan 03
3
Error en salida de lubridate::seconds_to_period() en Rmarkdown
Buas y feliz año y decada nueva, compañeRos, Me estoy encontrando con un problema tonto que no consigo resolver. Explico, tengo un dato que necesito sacar en un documento con codigo on line y no me saca el resultado de consola. dato <- 2272.13 round(lubridate::seconds_to_period(seconds(dato))), 0) En consola me da: "37M 52S" Pero en el documento ```Rmarkdown + Duración total
2012 Nov 13
1
Using lubridate to increment date by business days only
Hello, I know how to increment a date by calendar date: ticker$ldate <- ticker$tdate + days(5) How do I increment it by business days only so that week-ends are not counted? So for example friday november 2 + 5days becomes friday november 9 & not wednesday nov 7. Thanks for your help. -- View this message in context:
2011 Aug 30
1
lubridate and intervals
Hiya, maybe there is a native R function for this and if so please let me know! I have 2 data.frames with start and end dates, they read in as strings and I am converting to POSIXct. How can I check for overlap? The end result ideally will be a single data.frame containing all the columns of the other two with rows where there were date overlaps.
2018 Oct 01
2
Cambiar formato fecha
Hola Miriam, ¿Has probado en cualquier caso?. "lubridate" es capaz de gestionar estas diferencias. Usa la función "dmy()", que entenderá esas pequeñas diferencias con respecto al día. Puede gestionar incluso diferencias mucho mayores... Saludos, Carlos Ortega www.qualityexcellence.es El lun., 1 oct. 2018 a las 19:05, Miriam Alzate (<miriam.alzate en unavarra.es>)
2023 Apr 12
1
converting to date object...
lubridate::dmy("12 APR 2023") On Wed, Apr 12, 2023 at 5:34?PM akshay kulkarni <akshay_e4 at hotmail.com> wrote: > dear members, > I want to convert "12 APR 2023" into a Date > object. I tried as_Date() from lubridate, but it is not working: > > > as_date("12 APR 2023") > [1] NA > Warning message: > All