R/adana1.R

Defines functions adana1

Documented in adana1

# Adaptive Dynamic Algorithm (Adana 1)
adana1 = function(g, gmax, ...){
  pm = sin((g/gmax))+0.01
  pc = 1-pm
  return(list(pc=pc, pm=pm))
}

Try the adana package in your browser

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

adana documentation built on March 18, 2022, 6:03 p.m.