[R] Adding a title to a plot

Eric Berger er|cjberger @end|ng |rom gm@||@com
Thu Mar 4 18:05:06 CET 2021


Untested

b1=boxcox( DV ~ IV1 + IV2, data= newdata, main="My main title\n My
Subtitle")



On Thu, Mar 4, 2021 at 11:56 AM DY Kim <dykim7411 using gmail.com> wrote:

> Greetings!
>
> 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 values.
>
> 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
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list