R/boundExpand.R

Defines functions boundExpand

boundExpand <- function(bounds){
        Lower <- c(-Inf, bounds)
        Upper <- lead(Lower, 1)
        Upper[length(Lower)] <- Inf
        return(list(Lower = Lower, Upper = Upper))
}
alitvak3/a3personal documentation built on April 6, 2021, 4:53 a.m.