R/create.ladderplot.R

Defines functions create.ladderplot

create.ladderplot <- function(x) {
  for (i in (2:length(x))) {
    if (x[i] >= x[i-1]) { x[i] <- x[i-1] }
  }
  return(x)
}
Hugemiler/ZedXL documentation built on Oct. 6, 2019, 11:14 p.m.