[R] Adding a title to a plot

Jeff Reichman re|chm@nj @end|ng |rom @bcg|ob@|@net
Thu Mar 4 20:23:34 CET 2021


See plot.boxcox function which has main = NULL, sub = NULL arguments


-----Original Message-----
From: R-help <r-help-bounces using r-project.org> On Behalf Of DY Kim
Sent: Thursday, March 4, 2021 7:42 AM
To: r-help using r-project.org
Subject: [R] Adding a title to a plot


I am currently using R x64 4.0.4.

I used the box-cox power transformation to create a range of lambdas and
log-likelihood values using the equation.

b1=boxcox (DV ~ IV1 + IV2, data= newdata)

The above codes automatically created a plot with lambdas and log-likelihood

I want to add a main and subtitle to the plot. Would you please provide me
with codes? Any help would be appreciated. Thank you.

	[[alternative HTML version deleted]]

R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list