Database Reference
In-Depth Information
7. Now we it the function to the data using the non-linear-model function:
(def nlm (o/non-linear-model sine-wave fatality-count
speed-limit start))
8.
Let's add the function with the starting parameters and the function with the inal
itted parameters to the graph:
(-> chart
(c/add-lines speed-limit (sine-wave start speed-limit))
(c/add-lines speed-limit (:fitted nlm)))
 
Search WWH ::




Custom Search