[R] termplot with uniform y-limits
jfox at mcmaster.ca
Mon Jul 2 14:40:26 CEST 2007
Functions in the effects package are somewhat similar to termplot, and
allow you to specify the y-axis limits. For example, modify the last
line of the last example in example(all.effects) to
plot(eff.pres, ask=FALSE, ylim=c(10, 70))
I hope this helps,
------- original message -------
Does anyone have, or has anyone ever considered making, a version of
'termplot' that allows the user to specify that all plots should have
the same y-limits?
This seems a natural thing to ask for, as the plots share a y-scale.
you don't have the same y-axes you can easily misread the comparative
contributions of the different components.
Notes: the current version of termplot does not allow the user to
specify ylim. I checked.
the plot tools that come with mgcv do this by default. Thanks
John Fox, Professor
Department of Sociology
Hamilton, Ontario, Canada
More information about the R-help