R/mark.tripnos.f.R

Defines functions mark.tripnos.f

Documented in mark.tripnos.f

#' xxx
#' 
#' \code{mark.tripnos.f} yyy
#' 
#' @export

mark.tripnos.f = function(input.frm,tripno.list) {
  tripflg <- rep(F,length(input.frm$tripno))
  ntrip <- length(tripno.list)
  for(i in 1:ntrip){
    tripflg[input.frm$tripno==tripno.list[i] & !is.na(input.frm$tripno)]<-T
  }
  return(tripflg)
}
HaikunXu/BSE documentation built on Nov. 22, 2024, 8:22 a.m.