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 March 16, 2019 11:03:06 AM PDT, Kim Jacobsen <kimsjacob...@gmail.com> wrote: >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 used interchangeably. > >Thank you! -- Sent from my phone. Please excuse my brevity. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.