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 Sept. 21, 2018, 6:24 p.m.