R/RetentionIndex.R

Defines functions RetentionIndex

Documented in RetentionIndex

RetentionIndex <- function(n, target, preceding, following) {

  retention.index <- 100 * n + 100 * (target - preceding) / (following - preceding)
  return(retention.index)

}

Try the OrgMassSpecR package in your browser

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

OrgMassSpecR documentation built on May 2, 2019, 11:04 a.m.