Displaying 20 results from an estimated 6000 matches similar to: "as.date not reading Hour/Minute am/pm Data"
2017 Jun 29
0
Different date formats in one column
Hey,
Are all the dates connected? So no comma or space btw?
Regards,
Christoph
> On 29 Jun 2017, at 2:02 pm, Farnoosh Sheikhi via R-help <r-help at r-project.org> wrote:
>
> Hi,
> I have a data set with various date formats in one column and not sure how to unify it.Here is a few formats:
> 02091702/22/170221201703/17/160015-08-239/2/1500170806May-2-201522-March-2014
2017 Jun 28
4
Different date formats in one column
Hi,?
I have a data set with various date formats in one column and not sure how to unify it.Here is a few formats:
02091702/22/170221201703/17/160015-08-239/2/1500170806May-2-201522-March-2014
I tried parse_date_time from lubridate library but it failed.Thanks so much.?Best,Farnoosh
[[alternative HTML version deleted]]
2017 Jun 29
1
Different date formats in one column
Thanks Jeff. This is a nice way of solving this problem. What about the cases with 0015-02-21?Many thanks.?Best,Farnoosh
On Wednesday, June 28, 2017 10:49 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
I doubt your actual file looks like the mess that made it to my email
software (below) because you posted HTML-format email. Read the Posting
Guide, and in particular
2017 Jun 29
0
Different date formats in one column
I doubt your actual file looks like the mess that made it to my email
software (below) because you posted HTML-format email. Read the Posting
Guide, and in particular figure out how to send plain text email.
You might try the "anytime" contributed package, though I suspect it too
will choke on your mess. Otherwise, that will pretty much leave only a
brute-force series of regular
2017 Jun 30
0
Different date formats in one column
Left as an exercise for the student.
--
Sent from my phone. Please excuse my brevity.
On June 29, 2017 7:25:36 PM EDT, Farnoosh Sheikhi <farnoosh_81 at yahoo.com> wrote:
>Thanks Jeff. This is a nice way of solving this problem. What about the
>cases with 0015-02-21?Many thanks.?Best,Farnoosh
>
>
>
>On Wednesday, June 28, 2017 10:49 PM, Jeff Newmiller
><jdnewmil at
2013 Nov 05
2
Convert date column with two different structures
Let's say I have the following data frame and the date column has two
different ways in which date is presented. How can I use as.Date or the
lubridate package to have one date structure for the entire colum
df = data.frame(Date=c("5/1/13","8/1/13","9/1/13","Apr-10",
"Apr-11","Apr-12","Apr-13"))
It's
2011 Sep 09
0
Problems using quantile regression (rq) to model GLD random variables in R
Everyone:
I am working on a simulation of the efficiencies of regression
estimators when applied to model a specific form of highly skewed
data. The outcome variable (y) is being simulated from a generalized
lambda distribution (GLD) to reflect the characteristics (mean,
variance, skewness, kurtosis) of an observed variable. The regressor
of interest (x) is simply a binary indicator of group
2011 Nov 13
1
Indirect references
Hi All,
I would like to work with symbols referenced by strings: I would like to
manipulate data/symbols referencing to them by the string name of the
symbol.
An example will be clearer. Let's I get a time series through quantmod
> getSymbols("GLD")
This will create a new symbol GLD with the relevant data. I have tried
to rename the column names as follows:
>
2010 Nov 20
1
installimg fBasics SuSe 11.3 64bit
Hello,
I've been trying to install the fBasics package on an openSuSe 11.3
64bit machine.
It gives an error saying:
WARNING: *R* *include* *directory* *is* *empty* -- *perhaps* *need* *to*
*install* *R*-*devel*.*rpm* *or* similar
Yet, R-devel is installed. Other packages work fine. I also tried
different ways to install...install.packages() and R CMD INSTALL...
The complete message is
2006 Sep 19
1
R CMD check fails at package dependencies check on Fedora Core 5, works on other systems
I'm testing a FC5 machine for use in a student lab. R 2.3.1 is installed and
seems to work fine. There is one peculiarity - the logins are authenticating
to a server, and a "verbose" flag is set somewhere, leading to lots of
spurious messages like this
request done: ld 0xa227598 msgid 1
which may be confusing R.
However, R CMD check seems to fail for packages with no
2020 Feb 24
2
Colocar objeto Dates dentro de un vector.
Muchas gracias,
Probaré eso también y ya os cuento.
Jaume.
El lun., 17 feb. 2020 a las 22:10, Javier Marcuzzi (<
javier.ruben.marcuzzi en gmail.com>) escribió:
> Estimado Jaume Tormo
>
> En lo personal yo utilizo un enfoque como el que comenta Carlos Ortega, se
> me ocurre que posiblemente funcione si a su código le coloca algo de
> formato, me refiero a esta forma:
>
2009 Jun 10
2
isolating Hour and minute form date and time
Hi everybody. I have a dataframe that contains a factor with the date
information in the format like in the example below:
"2009/05/12 11:22:31 AM"
I have been able to convert it to POSIXt using strptime
Now I want to print only the date as one vector and the time in another
vector but they must be real date and time classes so that i can use them in
calculations
to reconstruct my
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
2009 Oct 12
0
package manual without index? check breaks with - LaTeX errors when creating PDF version.
Hello,
What am I doing wrong about creating an index for my package documentation?
Using 2.9.2, I am checking the gld package. It reports the following (all
earlier lines OK):
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without index ... ERROR
When I look in the gld.Rcheck
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.
2001 Nov 08
1
Generalized Lambda
Anyone know of a package for numerically estimating lambda(3) and lambda(4)
using location, position, skew and kurtosis estimates. I have a distribution
and would like to use the gld package to do some simulations of the
distribution, but need the lambda estimates to feed into gld.
I have a program in Maple, which I may convert to C code for use in R, but
before moving down that road I
2012 Oct 05
4
Minute Difference
Hi,
Here i have a time along with date,
for eg:- "10/5/2012 5:05:00 AM"
i need to do minus 10 minutes along current date
Like this :- "10/5/2012 4:55:00 AM"
Thanks in Advance
Antony
--
View this message in context: http://r.789695.n4.nabble.com/Minute-Difference-tp4645157.html
Sent from the R help mailing list archive at Nabble.com.
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
2013 Mar 13
1
Determining maximum hourly slope per day
Hello,
I have a challenge!
I have a large dataset with three columns, "date","temp", "location".
"date" is in the format %m/%d/%y %H:%M, with a "temp" recorded every 10
minutes. These temperatures of surface temperatures and so fluctuate during
the day, heating up and then cooling down, so the data is a series of peaks
and troughs. I would like