plotbaseline: Plot the baseline

Description Usage Arguments Examples

View source: R/plotbaseline.R

Description

This plots the two baselines based on input information

Usage

1
plotbaseline(anaxis, name)

Arguments

anaxis
name

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (anaxis, name) 
{
    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.