R/SimTentFn.R

Defines functions SimTentFn

Documented in SimTentFn

SimTentFn <-
function(Nobs, S){
  Y = numeric(Nobs)
  Y[1] = runif(1)
  for(i in 2:Nobs) Y[i] = TentFn(Y[i-1], S=S)
  return(Y)
}

Try the nwfscNLTS package in your browser

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

nwfscNLTS documentation built on May 2, 2019, 4:31 p.m.