R/setLifeExp.R

## Open 'Life Expectancy' window

setLifeExp <-
function(){
  ## Check if window is active
  if (is.open("LE.win")){
    DALYfocus("LE.win")
  } else {
    setLifeExp.startup()
  }
}

Try the DALY package in your browser

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

DALY documentation built on May 2, 2019, 12:19 p.m.