R/RSPCline.R

Defines functions RSPCline

Documented in RSPCline

RSPCline<-function(x,ymin,ymax){
  
  
  lines(c(x, x), c(ymin, ymax))
 
  
 # segments(x0=x,y0=ymin,y1=rep(ymin:ymax))
 
  u<-readline("accept line? (y/n) ")
  if (u=="n")
  {replayPlot(ab)}
  
  ab<-NULL
  ab<<-recordPlot()

}

Try the SSDforR package in your browser

Any scripts or data that you put into this service are public.

SSDforR documentation built on Nov. 5, 2025, 6:24 p.m.