[R] mtext, picking subscript text from colnames(df)

Tord Snäll Tord.Snall at ekol.slu.se
Fri Aug 31 09:26:23 CEST 2007


Works excellent. Thanks!

Tord

Henrique Dallazuanna wrote:
> Try:
>
> mtext(eval(parse(tex=paste("expression(mu[", 
> colnames(PresEsts)[2],"])", sep=""))),side=2,at=max(y)-15,las=1)
>
>
> -- 
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O
>
>

-- 

Tord Snäll
Department of Ecology
Swedish University of Agricultural Sciences (SLU)
P.O. 7002, SE-750 07 Uppsala, Sweden
Office/Mobile/Fax
+46-18-672612/+46-730-891356/+46-18-673537
E-mail: tord.snall at nvb.slu.se
www.nvb.slu.se/staff_tordsnall



More information about the R-help mailing list