R/Oyster_plot_incr_CS.R

Defines functions Oyster_plot_incr_CS

Documented in Oyster_plot_incr_CS

#' @export
Oyster_plot_incr_CS <-
function(IncG, incr_matrix, Tstep=1){
    dev.new(); plot(rownames(IncG),IncG[,1], type = "l");
    for(i in 2:length(incr_matrix[,2])){
        lines(rownames(IncG),IncG[,(incr_matrix[i,2]/Tstep)])
        lines(rownames(IncG),IncG[,incr_matrix[i-1,2]/Tstep+round((incr_matrix[i,2]/Tstep-incr_matrix[i-1,2]/Tstep)/2)],col="100")
    }
}

Try the shelltrace package in your browser

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

shelltrace documentation built on May 2, 2019, 2:25 a.m.