Displaying 5 results from an estimated 5 matches for "xyvector".
Did you mean:
myvector
2009 Feb 26
2
interpSpline with dates?
Dear R-helpers,
can I use a POSIXct date as the x variable in interpSpline? The help
page says x and y need to be numeric... is there a workaround?
example:
library(splines)
testdfr <- data.frame(Date=seq(as.POSIXct("2008-08-01"),as.POSIXct("2008-09-01"),
length=10))
testdfr$yvar <- rnorm(10)
sp <- interpSpline(yvar ~ Date, testdfr)
preddfr <-
1998 Apr 07
3
R-beta: spline problems(?)
Hi,
I am a total beginner with this whole thing so please have patience!
I am trying to run an S-plus program with a certain line:
spline(1:nrow(y), y[,1],n=100);
This crashes with:
Error: NAs in foreign function call (arg 8)
Apparently, this is caused by the last command of spline:
u <- seq(xmin, xmax, length.out = n)
.C("spline_eval", z$method, length(u), x = u, y =
2000 Sep 04
2
bug in spline()? (PR#653)
BUG IN SPLINE()?
Version R-1.0.1, system i486,linux
If the spline(x,y,method="natural") function is given values outside the
range of the data, it does not give a warning. Moreover, the extrapolated
value reported is not the ordinate of the natural spline defined by (x,y).
Example. Let x <- c(2,5,8,10) and y <- c(1.2266,-1.7606,-0.5051,1.0390).
Then interpolate/extrapolate with
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...ion: create
D: file: /usr/local/lib/R/library/splines/R-ex/splineDesign.R action: create
D: file: /usr/local/lib/R/library/splines/R-ex/splineKnots.R action: create
D: file: /usr/local/lib/R/library/splines/R-ex/splineOrder.R action: create
D: file: /usr/local/lib/R/library/splines/R-ex/xyVector.R action: create
D: file: /usr/local/lib/R/library/splines/R/splines action: create
D: file: /usr/local/lib/R/library/splines/TITLE action: create
D: file: /usr/local/lib/R/library/splines/help action: create
D: file: /usr/local/lib/R/library/splines/help/00Titles action: create
D: f...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...html latex example
predict.bs text html latex example
splineDesign text html latex example
splineKnots text html latex example
splineOrder text html latex example
xyVector text html latex example
>>> Building/Updating help pages for package `stepfun'
Formats: text html latex example
ecdf text html latex example
plot.stepfun text html latex exampl...