See ?"::" Many packages hide some of their internal objects, because they are not meant to be directly called by users. As the Help file referenced above explains, they can be referenced by the triple colon operatorm in this case:
MASS:::boxcox.lm See also ?methods and methods(boxplot) for further info about how to see and access available methods. This is all part of R's so-called S3 methods system, for which you should probably consult an online tutorial if you want to use R to any significant extent. -- Bert On Thu, Jan 23, 2025 at 10:23 AM Daniel Lobo <danielobo9...@gmail.com> wrote: > Hi, > > I tried with > > library(MASS) > methods('boxcox') > # [1] boxcox.default* boxcox.formula* boxcox.lm* > > Then > > > boxcox.lm > > Error: object 'boxcox.lm' not found > > How to look into the codes of boxcox.lm? > > Thanks for your time > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 > https://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ 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 https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.