For future reference, this mailing list is about teaching R - you really should use R-help for such questions. Hadley
On Thu, Nov 26, 2015 at 1:13 AM, Steven Stoline <[email protected]> wrote: > 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 > [email protected] > > [[alternative HTML version deleted]] > > _______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-teaching -- http://had.co.nz/ _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
