R/tPsin.R

"tPsin" <-
function(r,tl,tu){
# Weight function
nr   <- length(r)
tmp  <- rep(0,nr)
ind  <- (1:nr)[r>tl & r<tu]
tmp[ind] <- r[ind]; tmp}

Try the RobustAFT package in your browser

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

RobustAFT documentation built on Aug. 21, 2023, 5:13 p.m.