search for: timeseq

Displaying 3 results from an estimated 3 matches for "timeseq".

2006 May 31
2
timeSeq and TimeDate analog in R ?
Hi All : I am attempting tomove a large amount of code from Splus to R and I was hoping that there was an equivalent in R of the Splus functions timeSeq and timeDate ? I did an RSiteSearch but nothing came up ? If the equivalent functions are part of some package, that's fine. Thanks a lot. Mark
2009 Jun 03
0
fitting polynomial, for integration.
...put are provided below. Any help would be much appreciated. Thanks, Blaise. lddata.mdl <- lm(lddata[,2]~poly(lddata[,1],9,raw=TRUE)) lddata.ply <- polynom(lddata.mdl$coefficients); lddata.int <- integral(lddata.ply); plot(lddata[,1],lddata[,2],pch=".") lines(predict(lddata.ply,timeseq),col=4,lwd=2,lty=1) lines(predict(lddata.mdl,newdata=list(timeseq=x)),col=4,lwd=2,lty=1) The coefficients from lddata.mdl are: (Intercept) poly(lddata[, 1], 9, raw = TRUE)1 -4.714865e+05 1.054330e+06 poly(lddata[, 1], 9, raw = TRUE)2 poly(lddata[, 1], 9,...
2008 Sep 11
5
How to obtain a sequence of dates consisting of only weekdays
Dear R-users, How do I obtain a sequence of dates consisting of only weekdays without the weekends in R? In S, I can do the following: timeSeq(from="12/17/2007", to="8/25/2008", by="weekdays") I tried using looking at timeSequence (fSeries package) and seq.Date (base package) but I do not know if I can specify "weekdays" rather than "day". Hope to have some assistance. Thank you! Regar...