R/plotbaseline.R

Defines functions plotbaseline

Documented in plotbaseline

plotbaseline <-
function(anaxis, name){
  # Plots a baseline
  linetype <- 2
  linecol <- "lightgreen"
  if (name == "Pupil"){linetype <- 3; linecol<- "green"}
  abline(anaxis$slope, col = linecol, lty = linetype)
  return(anglefinder(anaxis$slope))
}
phewson/PhilsAngle documentation built on May 25, 2019, 2:54 a.m.