si | R Documentation |

An internal function to optimization and fitting. Don't use it solely.

si( alpha, y, x, z, opt = TRUE, smooth_selection, fam, bs = "ps", fx = FALSE, scale = scale, ... )

`alpha` |
single-index coefficients |

`y` |
Response variable, should be a vector. |

`x` |
Single index covariates. |

`z` |
Partially linear covariates. |

`opt` |
see ?gplsim |

`smooth_selection` |
see ?gplsim |

`fam` |
see ?gplsim |

`bs` |
see ?gplsim |

`fx` |
see ?gplsim |

`scale` |
see ?gplsim |

`...` |
includes optional arguments user can pass to |

b fitted gam object

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.