Guest User

Untitled

a guest
Jan 17th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. nl<- nls(formula = water ~ cbind(1,poly(time,4),sin(omega_1*time+phi_1),
  2. sin(omega_2*time+phi_2),
  3. sin(omega_3*time+phi_3)), data = fhw,
  4. start = list(omega_1=(2*pi)/545,omega_2=(2*pi)/205,omega_3=(2*pi)/85,phi_1=pi,phi_2=pi,phi_3=pi),
  5. algorithm = "plinear",control = list(maxiter = 1000))
Add Comment
Please, Sign In to add comment