# NOT RUN {
###these four should have the same length
A<-c(76,56,80);u<-c(29,40,67);sig<-c(4,3,2.5); r<-c(2,2,2)
fg<-agennls(A,u,sig,r)
##input formula for Gaussian decomposition
fgf<-fg$formula
###start values
fgs<-fg$start
# }
Run the code above in your browser using DataLab