[Rd] data(lh) time serie parameters

Jean lobry lobry at biomserv.univ-lyon1.fr
Sun Mar 30 11:52:06 CEST 2008


Dear all,

I'm confused by the time serie parameters in data(lh) :

sueoka:~ lobry$ R --vanilla --quiet
>  tsp(lh)
[1]  1 48  1

because documentation says:

QUOTE
A regular time series giving the luteinizing hormone in blood
samples at 10 mins intervals from a human female, 48 samples.
UNQUOTE

So that I would expect the time serie to end at 480 minutes
or 8 hours. Shouldn't we have something like:

>  tsp(lh) <- c(10, 480, 0.1) # in Minutes

or

>  tsp(lh) <- c(1/6, 8, 6)    # in Hours

Best,

Jean

>  sessionInfo()
R version 2.6.2 (2008-02-08)
i386-apple-darwin8.10.1

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] rcompgen_0.1-17

-- 
Jean R. Lobry            (lobry at biomserv.univ-lyon1.fr)
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I,
43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE
allo  : +33 472 43 27 56     fax    : +33 472 43 13 88
http://pbil.univ-lyon1.fr/members/lobry/



More information about the R-devel mailing list