Displaying 9 results from an estimated 9 matches for "spline_coef".
2008 Jun 02
0
Missing "spline_coef" DLL and Rob Hyndmans monotonic interpolator
Hello R help
I have been trying to use Rob Hyndman's monotonically increasing spline
function. But like another user or two seem have a problem with a
missing DLL (namely "spline_coef"). None of the previous help postings
seemed to have any solutions to this problem. As per a Ripley
suggestion I have deleted all previous versions of R and reinstalled R
2.7.0 and the problem persists.
Thanks
Paul.
x <- seq(0,4,l=20)
y <- sort(rnorm(20))
plot(x,y)
lines(spli...
2007 Dec 19
2
(no subject)
...working for the United Nations to construct a complete life table
from an abridged table.
I want to use the code of Hydman Filter by Rob J Hydman but an error
sentence always appears and it simply doesn't run--
source("C:/R/Jamie/HymanFilter.R")
Error in .C("spline_coef", method = as.integer(method), n = nx, x =
x, : C symbol name "spline_coef" not in DLL for package "base"
Can you please tell me what's the problem?
I appreciate your help so much!
Sincerely,
Jamie
Jamie Zuo
Tel: 1-917-367-8000
Cell: 1-917-226-7531
E...
2008 Oct 06
1
splinefun gives incorrect derivs when extrapolating to the left (PR#13132)
This is a low priority bug that has been around for a while, but I came acr=
oss it again while alpha testing 2.8.
The resulting function for splinefun gives incorrect deriv values when x is=
less than the smallest x-value used to create the function (at least in on=
e circumstance), but does the correct thing for x greater than the largest =
x-value.
Here is an example:
> x <- 1:10
>
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13138)
...splinefun gives incorrect deriv values
> when x is less than the smallest x-value used to create the function
> (at least in one circumstance), but does the correct thing for x
> greater than the largest x-value.
In a nutshell, splinefun calls, after some initial processing, the C
routine spline_coef to fit the desired spline. spline_coef returns
coefficients for the following representation of the spline;
a[i] + dx*(b[i] + dx*(c[i] + dx* d[i])
where dx := u-x[i]; i such that x[i] <= u <= x[i+1]. This would
evaluate the spline at u; the xs are the original knots.
I.e., the four coeffi...
2002 Sep 09
1
Monotonic interpolation
Has anyone got a function for smooth monotonic interpolation of a
univariate function? I'm after something like the NAG function PCHIM
which does monotonic Hermite interpolation. Alternatively, montononic
cubic spline interpolation.
Please reply directly.
Rob Hyndman
___________________________________________________
Rob J Hyndman
Associate Professor & Director of Consulting
2007 Jan 30
1
Solaris 10 compilation issue
...names.o
libintl_dcigettext ../extra/intl/libintl.a(dcgettext.o)
R_max_col registration.o
R_ClearerrConsole connections.o
pcre_maketables character.o
spline_eval registration.o
spline_coef registration.o
R_Busy main.o
R_approx registration.o
Rf_dnf arithmetic.o
Rf_dnt arithmetic.o
Rf_pnf arithmetic.o
Rf_pnt...
2007 Jan 30
1
Difficulty with compiling R-2.4.1 on solaris 10
...names.o
libintl_dcigettext ../extra/intl/libintl.a(dcgettext.o)
R_max_col registration.o
R_ClearerrConsole connections.o
pcre_maketables character.o
spline_eval registration.o
spline_coef registration.o
R_Busy main.o
R_approx registration.o
Rf_dnf arithmetic.o
Rf_dnt arithmetic.o
Rf_pnf arithmetic.o
Rf_pnt...
2007 Jan 30
0
R Compiling issue
...rithmetic.o
R_ChooseFile platform.o
lminfl_ registration.o
deflateInit2_ connections.o
N01_kind RNG.o
do_machine names.o
libintl_dcigettext ../extra/intl/libintl.a(dcgettext.o)
R_max_col registration.o
R_ClearerrConsole connections.o
pcre_maketables character.o
spline_eval registration.o
spline_coef registration.o
R_Busy main.o
R_approx registration.o
Rf_dnf arithmetic.o
Rf_dnt arithmetic.o
Rf_pnf arithmetic.o
Rf_pnt arithmetic.o
Rf_qnf arithmetic.o
Rf_qnt arithmetic.o
BZ2_bzRead connections.o
Rf_choose arithmetic.o
Brent_fmin optimize.o
Rf_dbinom arithmetic.o
Rf_dchisq arithmetic...
2007 Jan 30
0
Issue with compiling R on solaris 10
...names.o
libintl_dcigettext ../extra/intl/libintl.a(dcgettext.o)
R_max_col registration.o
R_ClearerrConsole connections.o
pcre_maketables character.o
spline_eval registration.o
spline_coef registration.o
R_Busy main.o
R_approx registration.o
Rf_dnf arithmetic.o
Rf_dnt arithmetic.o
Rf_pnf arithmetic.o
Rf_pnt...