Displaying 20 results from an estimated 10000 matches similar to: "julian"
2008 May 23
1
Strange julian and/or strptime
Hi r-helpers...
Why do I get this strange huge jump of 36524 days when changing "origin"
from 1969-01-01 to 1968-12-31. It should still be close to zero! This
really messes up my calculations of follow-up times in my analyses.
> julian(strptime("010169", format = "%d%m%y"),origin =
as.Date("1969-01-01"))
> Time difference of -0.04166667 days
>
2008 Jan 01
1
How to convert day-month-year to Julian data number?
Hi,
Is there a package for converting day-month-year type date to julian
day number (JDN)? I looked around and I couldn't find any (I am pretty
new to R...)
Thanks and happy New Year to everybody!
H. N?zhet Dalfes
Professor,
Istanbul Technical University
Eurasia Institute of Earth Sciences
+90 (532) 206-1308
[dalfes at itu.edu.tr]
2002 May 01
1
julian() in base depends on chron
It appears that julian() is in R-base, but julian.default() is in the
chron package.
> search()
[1] ".GlobalEnv" "package:ctest" "Autoloads" "package:base"
> julian(1:3,4:6,1991:1993)
Error in julian(1:3, 4:6, 1991:1993) : no applicable method for "julian"
> find('julian')
[1] "package:base"
>
2012 Mar 23
1
julian() and numerical noise
Hi,
does anybody know if the following behavior of julian() is intentional?
> julian(2, 1, 2012) - julian(2 - 1e-15, 1, 2012)
[1] 1
> julian(2, 1, 2012) - julian(2, 1 - 1e-15, 2012)
[1] 0
> julian(2, 1, 2012) - julian(2, 1, 2012 - 1e-15)
[1] 0
In other words, julian() is subject to numerical noise in the 'day'
argument, but not in the 'month' and
2010 Sep 15
1
Difficulty creating Julian day in data frame
Hi,
I'm attempting to add a "Julian Day" column to a data frame.
Here is my code and the resulting data frame:
vic.data <- read.table("C:/VIC/data/vic.data.csv", header=F)
names(vic.data) <- c("year", "month", "day", "precip", "evap",
"runoff", "baseflow", "Tsup",
2011 Sep 29
1
julian day form POSIXt object
hello all,
this is my reproducible example data frame
test<-structure(list(date = structure(c(1262300400, 1262304000, 1262304000,
1262307600, 1262307600, 1262311200, 1262311200, 1262314800, 1262314800,
1262318400, 1262318400, 1262322000, 1262322000, 1262325600, 1262325600,
1262329200, 1262329200, 1262332800, 1262332800, 1262336400, 1262336400,
1262340000, 1262340000, 1262343600,
2002 Feb 28
1
Bug in julian() (PR#1332)
Full_Name: Michael Jacob
Version: 1.4.1
OS: Windows 2000 SP2
Submission from: (NULL) (195.27.237.226)
Hi,
there seems to be a bug in julian():
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=English_United States.1252"
> julian(Sys.time())
Error in fromchar(x) : character string is not in a
2010 May 20
1
Strange behaviour when using diff with POSIXt and POSIXlt objects
Dear list,
I´m calculating time differences between series of time stamps and I noticed
something odd:
If I do this...
> time1=strptime("2009 05 31 22 57 00",format="%Y %m %d %H %M")
> time2=strptime("2009 05 31 23 07 00",format="%Y %m %d %H %M")
>
> diff(c(time1,time2),units="mins")
Time difference of 10 mins
.. I get the correct
2006 Jun 15
1
Problem with Julian function
Dear all,
I have a problem with the function Julian, may be a bug in the function ?
Here is a vector of character, which represents dates (May 18 to May 20
2000):
> amj <- c("2000-05-18","2000-05-18","2000-05-18","2000-05-19","2000-05-19"
> ,"2000-05-19", "2000-05-19", "2000-05-20", "2000-05-20",
2007 Oct 01
0
Problem with Julian Anastasov''s routing patches
Hello,
I wanted to try some multipath setup with Julian''s patches, and when
rebooting on the newly patched kernel, without any multipath routes
(only one interface up and one default gateway), my SSH connections to
the server freeze after a few seconds. I tried with and without bridges
(I sometimes have a bridge between a tap device and my eth0) with the
same results.
When I close
2006 Apr 23
8
Shattered, the rails-based MVC game development framework
if( you_want_to_make_a_game_with_ruby ) {
http://shattered.hastilymade.com/shattered_ruby.png
http://shattered.hastilymade.com/shattered_ruby.png
http://shattered.hastilymade.com/shattered_ruby.png
Shattered 0.3 has just been released! Inspired by Ruby on Rails, Shattered
is doing for game development what rails has done for web development.
Get it here !
We''ve made this
2006 Feb 02
1
Conflict between julian from base and from chron
I used to run the julian function from chron but this new version of R has
also a julian function in the base package that doesn't do exactly what I
need. Is there a way of telling R to run the function from chron and not
from base?
Thanks,
Fernando
__________________________
Fernando Colchero
Doctoral Fellow
Duke University
Department of Ecology
2001 Apr 09
1
Julian dates
I am using the "chron" package. Can anyone tell me if there is a simple way
to convert a date object (obtained from the "dates" function) into a julian
date (using the "julian" function)?
Thanks, Al.
Al Merrifield
Energy Analyst
Energy Modelling & Statistics
Ministry of Economic Development
PO Box 1473
Wellington
NEW ZEALAND
Phone: (04) 470 2338
Fax: (04)
1999 Apr 28
0
chron and julian
Another beginner's question. Still trying trying to read and and plot a simple
tds-value vs time.
input file: onedat
date time tds
1997-12-29 13:35:00 411
> onedat<-read.table("onedat",header=T)
attach(onedat)
> x<-chron(dates=as.vector(date),times=as.vector(time),
format=c("y-md","h:m:s"))
> x
[1] (97-12-29 13:35:00)
See my problem? Chron
2013 Mar 19
1
Convert to date and time of the year
Dear R Users,
I have data for more than 3 years. For each year I want to find the day
corresponding to Jaunary 1 of that year. For example:
> x <- c('5/5/2007','12/31/2007','1/2/2008')
> #Convert to day of year (julian date) -
> strptime(x,"%m/%d/%Y")$yday+1
[1] 125 365 2
I want to know how to do the same thing but with time added. But I still
2001 Oct 04
1
get.hist.quote does not work (PR#1116)
Full_Name: Arto Luoma
Version: 1.3.1
OS: Windows 98
Submission from: (NULL) (153.1.53.119)
Hi!
The function get.hist.quote in the package tseries (Version 0.7-6) does not work
in
my computer.
I found that it uses the function strptime which did not "understand" English
month
names in my Finnish locale (see bug report 811). I changed the regional settings
to
be English (UK) and
2006 Aug 09
1
Plot with Julian dates.
Dear Sir/Madam:
I simply want to draw x-y plot with Julian dates (x) and numbers (y).
Please see below for my program.
In the older version of R, the plot(jdat, miles) worked without any problem.
But, with the new version of R, plot(jdat, miles) does not work any more.
So, I added log="" option (as far as I know, it is a default setting, so
log="" should not be needed).
2010 Oct 29
7
date calculation
Hi list,
Could someone explain to me why the following result is not a integer?
> difftime(strptime("24NOV2004", format="%d%b%Y"), strptime("13MAY2004",
>format="%d%b%Y"), units="days")
Time difference of 195.0417 days
I'm using R2.12.0 on WinXP.
Thanks!
...Tao
2003 Dec 15
3
Julian Dates
Hi,
I'm a bit confused how julian() works. If I understand right, it returns
the number of days since the origin.
I have a vector:
> SLDATX[1:10]
[1] "1986-01-06" "1986-01-17" "1986-02-02" "1986-02-04"
[5] "1986-02-04" "1986-02-21" "1986-03-06" "1986-03-25"
[9] "1986-04-06"
2009 Aug 27
5
wine does n't open
Hai Friends,
I was using wine happily with ubuntu 8.04. Now I have ubuntu 9.04 clean install on a new machine. I could install wine but when I open wine-program-accessories-notepad nothing happens. Also configure wine does n't funtion.
Also when I try to install any exe file this message comes: here is one example
[/home/illusions/Desktop/TeamViewer_Setup.exe]
End-of-central-directory