R/angle.R

Defines functions angle

Documented in angle

angle <-
function(cut.slope, ref.slope, tick.dist){
  cut.slope <- cut.slope/tick.dist
  ref.slope <- ref.slope/tick.dist
  acos((1 + cut.slope * ref.slope)/(sqrt((1 + cut.slope^2)*(1 + ref.slope^2)))) #/
  #tick.dist #/ 4 * pi
}

Try the FUNTA package in your browser

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

FUNTA documentation built on May 1, 2019, 7:29 p.m.