Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-20 Thread Michael Dewey
Dear Kim See inline On 19/03/2019 22:29, Kim Jacobsen wrote: Mailing list now included (apologies, first time I post anything so not quite sure how it works). You are quite right, it was a typo. I meant to write that plot.xmean.ordinaly(). So please let me correct my last statement: the plot.x

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-20 Thread Bert Gunter
Please study the documentation to which you were referred. This list is not appropriate for comprehensive tutorials, which is what you need, although all help is of course in some sense a tutorial. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking thi

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-20 Thread Kim Jacobsen
Mailing list now included (apologies, first time I post anything so not quite sure how it works). You are quite right, it was a typo. I meant to write that plot.xmean.ordinaly(). So please let me correct my last statement: the plot.xmean.ordinaly() command and plot() command are interchangeable as

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-19 Thread Jeff Newmiller
No. Do not call plot.xmean.ordinaly() if the argument is not of class xmean.ordinaly, because that function assumes that it is such an object. That is one reason why it is better to call plot() than to be more specific. On March 19, 2019 3:29:11 PM PDT, Kim Jacobsen wrote: >Mailing list now inc

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-17 Thread Jeff Newmiller
Please keep the mailing list included in the thread. I can't tell if you do understand and are just being sloppy, or if you are completely confused, because xmean.ordinaly() and plot.xmean.ordinaly() are two completely different symbols in R. As for being "safe"... you may choose to be specific

Re: [R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-16 Thread Jeff Newmiller
Read up on S3 object orientation[1]. If you have an object x of class "xmean.ordinaly" then writing plot(x) will end up invoking the plot.xmean.ordinaly function rather than the plot.default function in base graphics. This is broadly true throughout R. [1] http://adv-r.had.co.nz/S3.html On Ma

[R] plot.xmean.ordinaly vs plot() in package "rms"

2019-03-16 Thread Kim Jacobsen
Would anyone be able to explain what the difference is between plot.xmean.ordinaly and plot() in the "rms" package? (for the purposes of testing the proportional odds assumption in ordinal models). In the package document (https://cran.r-project.org/web/packages/rms/rms.pdf) they seem both to be us