Christopher DiBari
2011-Aug-07 12:24 UTC
[R] help annotating plot.xmean.ordinaly in rms package
Hello List: Does anyone know if there's a way to annotate the plots produced by the plot.xmean.ordinaly function in the rms package. I'd like to produce publication quality figures, but first need to annotate the axis labels. Is there a way to do that? I appreciate any advice. Chris [[alternative HTML version deleted]]
Frank Harrell
2011-Aug-07 14:22 UTC
[R] help annotating plot.xmean.ordinaly in rms package
Chris for my purposes I need the output tied to the model's variable names, so I'm not sure I want to add new naming options to the function. You might just add a line after "nam <- nam[-1]" to specify your vector of names, starting with the response variable, e.g., nam <- c('velocity m/s','age','blood pressure'). Frank Christopher DiBari wrote:> > Hello List: > > Does anyone know if there's a way to annotate the plots produced by the > plot.xmean.ordinaly function in the rms package. I'd like to produce > publication quality figures, but first need to annotate the axis labels. > Is > there a way to do that? > > I appreciate any advice. > > Chris > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >----- Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/help-annotating-plot-xmean-ordinaly-in-rms-package-tp3724864p3724937.html Sent from the R help mailing list archive at Nabble.com.
David Winsemius
2011-Aug-07 14:25 UTC
[R] help annotating plot.xmean.ordinaly in rms package
On Aug 7, 2011, at 8:24 AM, Christopher DiBari wrote:> Hello List: > > Does anyone know if there's a way to annotate the plots produced by > the > plot.xmean.ordinaly function in the rms package. I'd like to produce > publication quality figures, but first need to annotate the axis > labels. Is > there a way to do that?Surely fortunes("Yoda") applies here. If you look at the code you see that base graphics are used. Why are you not using `axis` or one of its cousins? Provide some prototype data and there would surely be a worked example in return. Data leads to solutions is the Tao of R-help. -- David Winsemius, MD West Hartford, CT