R/makedf.R

makedf<- function (tvar,pvar){
  cm=data.frame(tvar,pvar)
  cm=na.omit(cm)
  tvar=cm$tvar
  pvar=cm$pvar

dd=difftime(tvar,tvar[1],units="hours")
dd=as.numeric(dd)
fr=data.frame(tvar=dd,pvar=pvar)
return(fr)


}

Try the lomb package in your browser

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

lomb documentation built on May 29, 2024, 3:37 a.m.