Displaying 1 result from an estimated 1 matches for "epsilon_10".
Did you mean:
epsilon_1
2010 Feb 01
2
numerical subscripts in a loop in a plot
...he 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:10){
text(i, 0, substitute(paste(epsilon[i])))
}
except that i end up pasting \epsilon_i 10 times and not \epsilon_1, ..., \epsilon_10. i'd be much obliged if anyone can put me out of my misery and let me know how i am goofing up.
many thanks
_________________________________________________________________
[[alternative HTML version deleted]]