[R] mgcv package plot superimposing smoothers

2010-12-03 Thread Jef Vlegels
oesn't seem to work with the plot.gam function. Does someone have a solution to plot these two smoothers in one graph, each with a different color/line type? Thanks in advance, Jef Vlegels __ R-help@r-project.org mailing list https://stat.ethz.ch/

[R] 'mgcv' package, problem with predicting binomial (logit) data

2010-08-30 Thread Jef Vlegels
last plot, of the predictions, is not what I expect. It’s just a random scatterplot, not what I would expect from the smoother plot. Does anybody know what I did wrong? Thanks in advance, Jef Vlegels Jef Vlegels Ghent University - Department of Sociology Korte Meer 3, B-9000 Gent, Belgium Tel:  09 26