Skip to content
Prev 360885 / 398506 Next

physical constraint with gam

On 11/05/16 17:11, Dominik Schneider wrote:
- Yes, this looks right.
- I guess so (similarly to lm/glm).
- you'd probably use te(x1,x2) unless x1 and x2 are really on the same 
scale, in which case s(x1,x2) might be appropriate. The `by' variable 
trick is probably not going to work so well for interactions, however 
(it's not so clear what the by variable should be).