[R] mgcv::bam with monotonic constraints

Axel Urbiz @xel@urbiz @ending from gm@il@com
Sun Jan 13 22:17:37 CET 2019


Dear List,

I need to fit a GAM to a large dataset (`mgcv::bam` does this), but
ensuring that some covariates have a monotonic relation with the response.

`mgcv::mono.con` with `mgcv::pcls` seem to do this, but only for
`mgcv::gam` (not mgcv::bam)?

I'd really appreciate any pointers!

Regards,
Axel.

	[[alternative HTML version deleted]]



More information about the R-help mailing list