Re: [R] Labelling interaction axes of a nomogram using rms

2016-08-27 Thread Leonardo Guizzetti
Hi David, As suggested, here is some example code adapted from the example of the nomogram() from the rms package. You'll notice that variable labels are not being applied to main effects or interaction terms. Leonardo rm(list = ls()) # Import libraries require(Hmisc) require(rms) set.seed(123

Re: [R] Labelling interaction axes of a nomogram using rms

2016-08-26 Thread David Winsemius
> On Aug 26, 2016, at 11:53 AM, Leonardo Guizzetti > wrote: > > Good afternoon, > > I have tried searching and have hit a wall with my own trial and error. I > have been able to use "nice" labels for non-interacted variables by setting > them using Newlabels(), but I am unable to do so for the

[R] Labelling interaction axes of a nomogram using rms

2016-08-26 Thread Leonardo Guizzetti
Good afternoon, I have tried searching and have hit a wall with my own trial and error. I have been able to use "nice" labels for non-interacted variables by setting them using Newlabels(), but I am unable to do so for the interaction terms following a fit. Can you please offer a suggestion? Kin