1

Is it possible to plot the scaled spline base of a gam using R like in the following picture?

scaled B-Splines:

enter image description here

Thank you.

Joshua_ABC
  • 13
  • 3
  • 1
    It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Mar 10 '21 at 19:05
  • 1
    You mean the scaled basis functions; the spline would be the sum over the scaled basis functions. I don't know of a canned way, but I doubt it would be difficult to implement with tools already available in my {gratia} or directly with the {mgcv} . If you can prepare a minimal example I'll take a look this evening – Gavin Simpson Mar 11 '21 at 18:49

0 Answers0