Greetings, I have a model fitted using bs() and need to be able to write down a closed form for the spline function to enable the use of the fitted model outside R. Does anyone know a simple way of extracting the piecewise cubics from the coefficients and knots? As far as I know they are defined by recurrence relationships, but the R implementation is buried in C code, and I guess in non-trivial to invert. I know about predict.bs() within R, but I want the full piecewise cubic.
Steve. Dr Steve Roberts [EMAIL PROTECTED] Senior Lecturer in Medical Statistics, Biostatistics Group, University of Manchester, ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
