Re: [R] how to add p values to bar plot?

2019-09-28 Thread Jim Lemon
Hi Ana, You seem to have a p-value at the top of the second plot. Do you just want that p-value in a different place? My first guess would be the "annotate" argument. Say you wanted your p-value in the middle of the plot. # your ggplot line p+annotate("text",x=1.5,y=0.05,label="p = 1.6x10-16") p

Re: [R] I am a user of the package plotrix, and want to ask a question that I can't possibly find the answer anywhere

2019-09-28 Thread Jim Lemon
Hi Leo, The easiest way to do this is: par(las=1) # twoord.plot command par(las=0) Jim On Sat, Sep 28, 2019 at 8:56 PM leo wu wrote: > > Dear Jim Lemon: > I am currently using the twoord.plot() function in plotrix package. I > want to inquire, how am I supposed to rotate my y-axis label, s

Re: [R] stats::lm has inconsistent output when adding constant to dependent variable

2019-09-28 Thread Mark Leeds
Hi Berwin: Yes, that's it. Donsker is famous for a functional CLT so I was mixing up statistics and stochastic processes I better stick to statistics. It's safer. ! Thanks for correction. I'm ccing R-help since it may be useful to someone there. See below for Berwin's comment. Mark On Sat,