R/SD2legend.R

Defines functions SD2legend

Documented in SD2legend

SD2legend <-
function(){
  
  #par(mar=c(1, 1, 1, 1))
  #plot.new()
  #legend("center", c("behavior","+2sd","mean","-2sd"), col = c("red","black", "green","black"),lwd = 3,ncol=4,bty ="n")
  legend("bottom",inset=c(-.3,-.96,-.3),xpd = TRUE, c("behavior","+2sd","mean","-2sd"), col = c("red","black", "green","black"), lwd = 1,ncol=4,bty ="n")
  }

Try the SSDforR package in your browser

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

SSDforR documentation built on Nov. 24, 2023, 5:08 p.m.