Re: [R] Bivariate Splines in R

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Wed 14 Dec 2005 - 01:10:31 EST


From: Martin Maechler
>
> >>>>> "Cal" == Cal Stats <calstats05@yahoo.com>
> >>>>> on Mon, 12 Dec 2005 10:25:38 -0800 (PST) writes:
>
> Cal> Hi.., is there a function in R to fit bivariate splines
> Cal> ? I came across 'polymars' (POLSPLINE) and 'mars'
> Cal> (mda) packages. Are these the one to use or are there
> Cal> other specific commands?
>
> I'd recommend to use gam(y ~ s(x1,x2)) from the recommended
> package 'mgcv'.
>
> help(gam) has many examples, some of which using bivariate
> splines.

The `gss' package might be worth trying, too.

Cheers,
Andy  

> Cal> Thanks.
> Cal> Harsh
> you're welcome;
> Martin Maechler, ETH Zurich
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 14 01:53:53 2005

This archive was generated by hypermail 2.1.8 : Wed 14 Dec 2005 - 02:33:56 EST