R/slopebypoint.R

Defines functions slopebypoint

Documented in slopebypoint

#' @export
#' 
slopebypoint <-
function(data) 
{
  t<-seq(0,length(data)-1,1)
  s<-stats::lm(data~t)$coef[2]
  names(s)<-NULL
  s<-s
}

Try the Thermimage package in your browser

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

Thermimage documentation built on Nov. 30, 2017, 9:01 a.m.