Re: [R] [External] Adding a superscript 6 to a number

2020-12-29 Thread Duncan Murdoch
On 29/12/2020 4:15 p.m., Jeff Newmiller wrote: Why not? Is that a generalization, or specific to this case? paste and expression are used several times in the code that was posted. The one that causes all the trouble is labels=paste(PNotSusp,"=\n",mylab) where mylab is an expression, the r

Re: [R] [External] Adding a superscript 6 to a number

2020-12-29 Thread Jeff Newmiller
Why not? Is that a generalization, or specific to this case? On December 29, 2020 7:54:22 AM PST, "Richard M. Heiberger" wrote: >paste() is the problem. don’t use paste with expression() > >On Tue, Dec 29, 2020 at 10:50 Sorkin, John >wrote: > >> Colleagues, >> >> I would like to create a numbe

Re: [R] [External] Adding a superscript 6 to a number

2020-12-29 Thread Richard M. Heiberger
paste() is the problem. don’t use paste with expression() On Tue, Dec 29, 2020 at 10:50 Sorkin, John wrote: > Colleagues, > > I would like to create a number (stored in the variable x) to the number > with the exponent of, i.e. the number to the sixth power. The code I have > tried, pasted belo