similar to: Convert ordinary dates into POSIX

Displaying 20 results from an estimated 30000 matches similar to: "Convert ordinary dates into POSIX"

2006 Jul 20
3
Question about functions in R
I tried to make the following function: function(x, y){ dates<-intersect(x[,1],y[,1]) m<-matrix(NA,length(dates),3) m[,1]<-dates j<-1 k<-1 for(i in fdax[,1]){ if(is.element(i,dates)){ m[j,3]<-as.numeric(fdax[k,2]) j<-j+1 } k<-k+1 } return(m) } When I try to import it into R with edit( file="name.txt",
2006 Jun 07
1
Help with selecting data from irregular time series {its} objects
If I understood correctly in irregular time series (its) objects, values are indexed by time stamps in POSIX format. But if I try to select the value of my time series corresponding to specific time stamp in the following way: x - its object i <- as.POSIXct("2006-05-19 15:30:00") x[i,] or x[i] or x[i,1] I get the error message: subscript out of bounds. If I use integers: x[1,1] it
2010 Feb 22
2
Creating regularly spaced time series from irregular one
Hello, I have a series of intraday (high-frequency) price data in the form of POSIX timestamp followed by the value. I sucesfuly loaded that into "its" package object. I would like to create from it a regularly spaced time series of prices (for example 1min, 5min, etc apart) so i could calcualte returns. There is an interpolation function locf() that for timestamp with value NA uses last
2006 Jul 14
1
Help for updating package
I have a problem with garchFit fuction in fSeries package. I found the following reply on one of the R list: "GARCH-Modelling is not easy, and indeed for your dataset the default "Sequential Quadratic Programming" solver doesn't converge. I observed this also for some other time series. There is already an updated version on the server,
2012 May 02
1
convert numbers into dates and time
Hi I've been trying to convert numbers from an online temperature database into dates and time that R recognizes. the problem is that the database has put a T between the numbers and R will not accept any conversions. this is the format that it's in now 1981-01-02T08:00 can anyone help? cheers! -- View this message in context:
2006 Jul 06
1
Problem with garchFit function in fSeries
I used garchFit function to fit 1600 observations of EURO/USD 2-day returns in GARCH(1,1) model. As part of the summary I got warning message: NaNs produced in: sqrt(diag(fit$cvar)) And didn't get any estimates for 3 params' std.error, t value or probability: Error Analysis: Estimate Std. Error t value Pr(>|t|) mu -0.004827 0.020141 -0.240 0.811 ar1 0.010311
2003 Aug 13
1
Problems with addition in big POSIX dates
Have you noticed any problems with big dates (>=1/1/2040) in R? Here is the bit of code that I'm having trouble with: > test.date <- strptime("1/1/2040",format="%m/%d/%Y") > > unlist(test.date) sec min hour mday mon year wday yday isdst 0 0 0 1 0 140 0 0 0 > > date.plus.one <- as.POSIXct(test.date) +
2009 Nov 24
1
Encoding problems.
Hello, I use: R version 2.9.2 (2009-08-24) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 on Ubuntu 9.10, I usually run R from ESS (5.4 on current Unbuntu) from Emacs-22.2.1. But I also tried the following from the console and it gave the same results. I have a data file containing lots of European characters, French, German, Italian and so on. I can read it
2007 Jan 17
2
problem with unlist POSIX date at midnight
Dear R-users, I use unlist of POSIX dates to extract the year, hour etc. With that I can search for files in my database which are in the form 'yyyymmddhh_synops.txt' However, I get stucked during midnight where unlist just gives NA's. The script is given below, the problem accurs at acc.period[16] (midnight). However when I write out the character, unlist works well. But
2002 Oct 08
1
Windows RPC and samba
Hello Please can you tell (write ;-) me, whether there is some possibility to use samba as some RPC proxy for windows RPC functions? If I have a simple client server application, that uses RPC, it works fine in one network, but when I want to have each (client and also server) in different private network, I'll need to use sime kind of RPC over http or som RPC support from IIS or such ugly
2007 Jun 13
1
Remotely executing scheduled tasks
>From another Windows system using schtasks.exe a scheduled task can be executed with the following syntax: schtasks /Run /TN "Backups" /S "remote_system_name" I suppose the Unix/SSH equivalent is: ssh user@"remote_system_name" /usr/local/bin/backups.sh Is there samba client for schtask.exe ? -- Simon Males <sime@anticd.org>
2011 Jul 27
3
Ordinary Least Products regression in R
Dear all, Does any one know if any R package or function can do Ordinary Least Products regression? Many thanks! Bill
2009 Apr 29
1
Data type question: converting dates
I have a text (csv) file) with two columns: dates and numeric measurements. I read it using read.table and the dates get read as a factor, with as many levels as there are dates in the data. How can I create a matrix-like data structure (data frame?) which has one column of “real” dates (a vector of dates, not a factor variable) and one column of the numeric measurements? The strptime function
2000 May 15
1
Re: [vorbis-dev] Semi-off-topic ramblings
Tony Arcieri wrote : > I'm curious if anyone else is at all fed up with the current > state-of-affairs of media support under *IX. As things stand it's rather > a pain to add support for a new codec/framing format to an application, > and it seems like were someone to step up and design a system which > abstracts media support from end-user applications and
2010 Jul 21
2
[LLVMdev] How to recognize pointer variable & ordinary variable
How to recognize pointer variable & ordinary variable? I have tried with "isa<PointerType>(V->getType())", but failed. -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100722/8a751551/attachment.html>
2013 Sep 01
2
[LLVMdev] Distinguishing Pointer Variable and Ordinary Variable
C Code :- int main() { int a=10,c; int *b; c=20; *b=a; return 0; } IR of above code :- define i32 @main() #0 { entry: 1. %retval = alloca i32, align 4 2. %a = alloca i32, align 4 3. %c = alloca i32, align 4 4. %b = alloca i32*, align 8 5. store i32 0, i32* %retval 6. store i32 10, i32* %a, align 4 7. store i32 20, i32* %c, align 4 8. %0 = load i32* %a, align 4 9. %1 = load i32** %b,
2011 May 12
3
problem converting character to dates
Hi all, I've searched this problem and still I can't understand my results, so here goes: I have some time series I've imported from excel with the dates in text format from excel. Data was imported with RODBC, sqlQuery() function. I have these dates: >adates [1] "01/2008" "02/2008" "03/2008" "04/2008" "05/2008"
2005 Jan 26
1
Converting yr mo da to dates
I'm using R 2.0.1 in windows XP (and am not currently subscribed to this mailing list). I have a USGS dataset, a text file with fixed width fields, that includes dates as 6-digit integers in the form yrmoda. I could either read them that way, or with yr, mo, and da as separate integers. In either case, I'd like to convert them to a form will allow plotting other "y"
2017 Apr 03
6
GPO administration right on the station for ordinary user
Good morning people, I need a help with a gpo to give administration right only on the workstation for a normal user. I tried 3 tutorials I found on google plus none worked. How do you do when you need an ordinary user to have administration right only on the workstation? If you have a tutorial that is running in version 4.5.5 and can make it available thank you very much. Regards,
2008 Feb 14
2
Does the t.test in R uses Welch procedure or ordinary student t-test?
En innebygd og tegnsett-uspesifisert tekst ble skilt ut... Navn: ikke tilgjengelig Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20080214/a0ea0e66/attachment.pl