R/btm_trim_increment.R

Defines functions btm_trim_increment

## File Name: btm_trim_increment.R
## File Version: 0.04

btm_trim_increment <- function(incr, maxincr )
{
    res <- ifelse( abs(incr) > maxincr, maxincr*sign(incr), incr )
    return(res)
}
alexanderrobitzsch/sirt documentation built on Sept. 8, 2024, 2:45 a.m.