R/rakelegend.R

Defines functions rakelegend

Documented in rakelegend

rakelegend<-function(corn="topright", pal=1)
{
  #######   add a legend to a plot with the
  ######   focal colors identified  based on rake
  fleg = 1:7
  flegc = foc.color(fleg, pal=pal)
  flab = focleg(fleg)

  legend(corn, legend=flab, col=flegc, pch=19, bg="white" )

}

Try the RFOC package in your browser

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

RFOC documentation built on Sept. 8, 2023, 6:12 p.m.