R/CreateTrueMean.R

Defines functions CreateTrueMean

CreateTrueMean = function(tt,optns){
  # old mu_true
  
  tt[!(tt >= 0 & tt <= optns)] = 0
  mu =  (tt+sin(tt))
  return(mu[!is.na(mu)])
  
}

Try the fdapace package in your browser

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

fdapace documentation built on Aug. 16, 2022, 5:10 p.m.