There's an example at the end of the pcls help file in version 1.5-0 --- just
submitted to CRAN.
best,
Simon
On Wednesday 25 February 2009 18:48, Benjamin Tyner wrote:
Hi,
Does anyone know how to fit a GAM where one or more smooth terms are
constrained to be monotonic, in the presence of by
Simon,
Many thanks, that is a very helpful example. It seems quite general in
that it also works under bs=cr as well as with fx=TRUE.
-Ben
There's an example at the end of the pcls help file in version 1.5-0 --- just
submitted to CRAN.
best,
Simon
Hi,
Does anyone know how to fit a GAM where one or more smooth terms are
constrained to be monotonic, in the presence of by variables or
other terms? I looked at the example in ?pcls but so far have not been
able to adapt it to the case where there is more than one predictor.
For example,
3 matches
Mail list logo