s-news
[Top] [All Lists]

[no subject]

To: <s-news@lists.biostat.wustl.edu>
From: "Jordan, Paul" <paul.jordan@roche.com>
Date: Fri, 25 Apr 2008 16:53:59 +0200
Thread-index: Acim5DICBtor64zXQRi7ZW2Oe84K9w==
Hi,
 
I encountered serious difficulties in plotting timeDate objects; here a baby example which should show the problems:
 

H <- rep(8,10)

M <- c(12,13,13,14,15,17,17,17,18,19)

S <- c(54,7,53,27,20,40,43,9,2,49)

x <- timeCalendar(h = H, min = M, s=S,format = "%H:%M:%S")

plot(x,1:10)

The x-axis is labeled with the default origin 1.Jan,1960.
 
Specifying the date

y <- timeCalendar(rep(4,10),d=rep(23,10),y=rep(2007,10),h = H, min = M, s=S,format = "%H:%M:%S")

plot(y,1:10)

resulted in a complete mess (I am working with version 7.0.0  for Microsoft Windows ).

 

Has anyone a solution for this problem?

 
 
 
 
Paul Jordan Ph.D
Senior Statistician
F.Hoffmann-La Roche Ltd
PDIM
Bld. 670/R.709
CH-4070 Basel
Switzerland
 
 
 
 
<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Jordan, Paul <=