[R-sig-teaching] Excluding the zero from a sequence when created
Steven Stoline
sstoline at gmail.com
Wed Nov 25 13:13:20 CET 2015
Dear All:
How to exclude the zero from this sequence when created.
t<-seq(-1,1,0.01)
Because I want to do the following:
y<-cos(pi/t)
plot(t,y, type="l", col="blue", lwd=1.5)
abline(h=0, col="red", lwd=1.5)
with many thanks
steve
--------------------
Steven M. Stoline
1123 Forest Avenue
Portland, ME 04112
sstoline at gmail.com
[[alternative HTML version deleted]]
More information about the R-sig-teaching
mailing list