Displaying 20 results from an estimated 1678 matches for "julians".
Did you mean:
julian
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
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"
>
2009 May 27
9
Contingent Select Boxes - 2 Q's
I have a form with contingent select boxes (the state is contingent on
the country selected, so when the country selected changes, the state
changes -- I am using the Carmen plugin for getting my state names and
country names together, but not the functionality I am interested in
achieving).
Everything works fine except I cannot figure out how to amend my code
such that:
A. When the form is first
2005 Dec 21
3
NextMethod causes R 2.2.0 to crash (PR#8416)
I found writing the following default method the for the generic
function "julian" causes R to crash.
julian.default <- function(x, ...) {
x <- as.Date(x)
NextMethod("julian", x, ...)
}
Here is a test example
> m <- as.Date("1972-09-27") + 0:10
> m
[1] "1972-09-27" "1972-09-28" "1972-09-29"
2010 Jul 05
3
Problemas para graficar barras de error y fechas en el eje-x (SOLUCIONADO)
Hola Carlos,
afortunadamente, encontré una solución a mi problema (hasta ahora al menos
me funciona, veremos si más adelante se me complica con alguna otra cosa)
Llogré resolver el problema usando el parámetro "labels" de la función
"axis()". Lo que hice es algo así:
*datos <- read.table(....)*
#en el archivo datos, tengo una columna con las fechas en formato julian
hecha
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
2012 Jun 08
3
day of the year for chron objects
Hi!
Is not there an standard R function to retrieve the day of the year
(since 1st Jan of the same year)?
I know I can make my own using julian, but find it weird that having
days(), months() etc doy() does not exist as an standard function.
Also, is the following not a bit inconsistent?
> a <- chron("20100506",format="ymd")
> a
[1] 100506
> years(a)
[1] 2010
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
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",
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/
2009 Nov 11
1
Unexpected behaviour for as.date()
Hi everyone,
I am trying to use the function as.date() from the "dates" package in R
2.10.0 to convert a character date to a Julian date, as follows:
> as.date("02-MAY-01", order="mdy") # convert May 2, 2001 to a Julian date
[1] 2May1
However, when trying to convert a character date from the year 2000 to a
Julian date, I get an <NA> instead of the
desired
2013 Jun 06
1
Reproducable Infiniband panic
Hello,
I see a reproducable panic when doing ibping and aborting it with ^C. My
setup is two machines with Mellanox Infinihost III HCAs (one Linux one
FreeBSD) connected back-to-back.
Details below. I can upload 2 crash dumps, if this is useful. For some
reason the port doesn't become ACTIVE, so no packets arrive, but that is
probably unrelated.
% uname -a
FreeBSD cosel.inf.tu-dresden.de
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 Mar 01
3
How to do a "proc summary" in R?
Hi,
I'm a SAS user trying to convert myself to R but I still have problems with some pretty simple commands.
First I wanted to add up a number of red-tailed hawks seen per day (julian day) per year. So I tried:
RTyrday <- tapply(RThr,list(year,julian),sum)
And then I tried the following regression:
mod1 <- glm(RTyrday~julian+year, family=gaussian (link=identity),data=RT)
Wich
2009 Dec 09
1
partial match for two datasets
Hi all,
I have two sets:
dig<-c("DAVID ADAMS","PIERS AKERMAN","SHERYLE BAGWELL","JULIAN BAJKOWSKI","CANDIDA BAKER")
import<-c("by DAVID ADAMS","piersAKERMAN","SHERYLE BagWEL","JULIAN BAJKOWSKI with ","Cand BAKER","smith green")
I want to get the following result from
2006 Apr 27
6
OrderedHash
Looks like I have skipped on this, but still - a couple of questions:
1) Why there suddenly is an OrderedHash in ActiveSupport? (this
glaring omission from ruby core is present in many apps already)
2) Why it doesn''t match the semantics of Hash respectively?
3) Why it''s #nodoc ?
--
Julian ''Julik'' Tarkhanov
please send all personal mail to
me at julik.nl
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)
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"