We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73a705 commit 6ccf044Copy full SHA for 6ccf044
README.md
@@ -12,8 +12,8 @@ using RDatasets
12
using Gadfly
13
14
cars = dataset("datasets","cars")
15
-X = map(Float64,convert(Array,cars[:Speed]))
16
-Y = map(Float64,convert(Array,cars[:Dist]))
+X = map(Float64,convert(Array,cars[!,:Speed]))
+Y = map(Float64,convert(Array,cars[!,:Dist]))
17
18
spl = fit(SmoothingSpline, X, Y, 250.0) # λ=250.0
19
Ypred = predict(spl) # fitted vector
0 commit comments