this function only works for tuning parameter values defined by the shim_multiple_faster function. The interpolation feature is not working yet

Get coefficients from a "shim" object

1 2 3 4 5 6 |

`object` |
Fitted shim model object |

`s` |
index of tuning parameter. Must be a character and an element of
"s1","s2",...."s100", where "s100" is the index of the last pair of tuning
parameters. Default is |

`type` |
Type of prediction required. Type "link" gives the fitted values. Type "response" for "gaussian" type "response" is equivalent to type "link". Type "coefficients" computes the coefficients at the requested values for s. Type "nonzero" returns a list of the indices of the nonzero coefficients for each value of s. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.