R/highlight.R

Defines functions highlight

Documented in highlight

highlight<-function(x1,x2,yrange,col="yellow"){
        for(j in 1:NROW(x1)){
            polygon(x= c(x1[j],x1[j],x2[j],x2[j]) , 
                    y= c(yrange,rev(yrange)) ,
                    col=col,density=NA )
            
        }
}

Try the wasim package in your browser

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

wasim documentation built on May 1, 2019, 6:50 p.m.