ot;,
> lambda = 0.1,
> pointwise = con)
>
> plot(y~x, dat)
> pred <- predict(fit_result)
> lines(pred[,1], pred[,2], col = "red")
>
>
> Hope this helps,
>
> Rui Barradas
>
> Às 15:00 de 22/01/20, Tung Nguyen
Hello R-Help,
I'm trying to find the best fitting curve through a given set of points.
The fitted curve must also pass through these points. I found an answer on
Cross Validated which suggested to use the `cobs: Constrained B-Splines
(Sparse Matrix Based)` package. However, I got an error while te
2 matches
Mail list logo