[R] plotmath vector problem; full program enclosed

Allan Engelhardt allane at cybaea.com
Tue Jul 6 21:51:34 CEST 2010



On 06/07/10 18:51, David Winsemius wrote:
>
> Easily addressed in this case with "~" instead of "-". The value of 
> "d" provides the minus:
>
> b1 <- substitute( mu ~ d*sigma, list(d=round(dividers[1],2)) )

Neat trick!  But it gives a slightly different minus sign in the 
display, so perhaps simply

b1<- substitute( mu - d*sigma, list(d=-round(dividers[1],2)) )


instead?

Allan



More information about the R-help mailing list