R/smad.R

Defines functions smad

smad <-
function(pos,v)mad(v[pos[1]:pos[2]],na.rm=T)

Try the CNprep package in your browser

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

CNprep documentation built on May 24, 2022, 5:05 p.m.