Displaying 20 results from an estimated 30000 matches similar to: "julian() and numerical noise"
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
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"
>
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,
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",
2005 May 14
3
julian
I have a problem wherein I need to convert back and forth from
dates of the form "2000-04-11" to Julian dates. After some
experimentation I found that
> z <- strptime("2000-62",format="%Y-%j")
> z
gave me "2000-03-02" --- i.e. March 2 which is as it should be
according to my (not too reliable) arithmetic.
Going the other direction, more
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)
2010 Jan 28
1
Inserting white noise / music / sound file into mixmonitor
A week or so ago, I explained that we need to "blank" our call
recording when some sensitive information like credit cards where
being discussed. With the lists help, I managed to find the pause/
unpause monitor commands. That works great. However (there is always
a however), what that now means is that the length of the call does
not match the length of the call recording, so adding
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"
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
>
2005 Feb 09
2
Re: problems with 2.4.28 + Julian''s patch
I am using kernel 2.6.9 (gentoo,AMD64 version) + routes-2.6.9-11.diff
If compile kernel with gcc 3.4.3, then the similar error comes out:
------------------
net/ipv4/fib_frontend.c: In function `fib_validate_source'':
include/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to ''fib_result_table'': function body not
available
net/ipv4/fib_frontend.c:204:
2004 Jul 07
4
tutorial for Julian Anastasov''s patches
I''m sure that I had found (and printed out ...) a really good tutorial
that explain how to use Julian Anastasov''s routing patch, but I can''t
seem to find it now.
Any pointers?
--
******************************************************************
Glen W. Mabey
Glen.Mabey@usu.edu
http://mabeys.homelinux.com/glen/
2012 Jun 15
2
How to convert month-day-year to Julian data number?
Hello,
I am trying to convert calendar dates (Month, Day, Year) into Julian Days
Product code Bureau of Meteorology station number Month Day Year Date_mdy Date
4102001 70014 1 1 1939 1/01/1939 1/01/1939
4102001 70014 1 2 1939 1/02/1939 2/01/1939
4102001 70014 1 3 1939 1/03/1939 3/01/1939
4102001 70014 1 4 1939 1/04/1939 4/01/1939
4102001 70014 1 5 1939 1/05/1939 5/01/1939
4102001 70014 1 6
2007 Jun 25
4
Using Julian Anastasov''s ''routes'' patches on 2.4 kernel in conjunction with IPSec
Hello,
I use Julian Anastasov ''routes'' (to be more specific: static_routes,
alt_routes and nf_reroute) patches on a 2.4.32 kernel. On the same host I run
IPSec. I have discovered after a few hours of networking problems that,
when IPSec is enabled on that patched kernel, inspecting packets with tcpdump
while arping-ing a host from a network physically connected to this
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).
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]
2005 Jan 08
1
problems with 2.4.28 + Julian''s patch
With 2.4.28 and Julian Anastasov''s
http://www.ssi.bg/~ja/routes-2.4.27-9.diff
patch, I get the following when I attempt to build my kernel. Any ideas?
Thanks!
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -nostdinc
2006 Oct 04
2
rendering date/times from 64bit julian format?
Hellos,
I have date/times in 64-bit Julian format, that is the number of
milliseconds since 1 jan 1970 (or something like that). E.g.,
"1159884877406"
For the life of me I can't figure out how to render these in a more
readable format, e.g., "2006-10-04 23:12:93.191" (and I have tried to
do my best searching the archives and help etc ...)
Thank you most
2008 Jul 14
3
statistics question about a statement in julian faraway's "extending the linear model with R" text
In Julian Faraway's text on pgs 117-119, he gives a very nice, pretty
simple description of how a glm can be thought of as linear model
with non constant variance. I just didn't understand one of his
statements on the top of 118. To quote :
"We can use a similar idea to fit a GLM. Roughly speaking, we want to
regress g(y) on X with weights inversely proportional
to var(g(y).