Thanks David and Eik. They both work really well!
> CC: r-help@r-project.org
> From: dwinsem...@comcast.net
> To: alexne...@hotmail.com
> Subject: Re: [R] numerical subscripts in a loop in a plot
> Date: Mon, 1 Feb 2010 12:59:19 -0500
>
>
> On Feb 1, 2010, at 12:40 PM,
On Feb 1, 2010, at 12:40 PM, Alexander Nervedi wrote:
Hi R Graphics Gurus
I am unable to figure out this issues with unevaluated expressions.
I'm trying to create a graphic where I calculate the residual from a
regression and want to mark each residual with its observation
number. So so
Hi Alexander,
there is a simple solution using bquote
for(i in 1:10){
text(i, 0,bquote(epsilon[.(i)]))
}
hth.
Alexander Nervedi schrieb:
Hi R Graphics Gurus
I am unable to figure out this issues with unevaluated expressions. I'm trying
to create a graphic where I calculate the residual fro
Hi R Graphics Gurus
I am unable to figure out this issues with unevaluated expressions. I'm trying
to create a graphic where I calculate the residual from a regression and want
to mark each residual with its observation number. So something like
plot(0,0, type = "n", xlim = c(0,10))
for(i in 1
4 matches
Mail list logo