coef.function | R Documentation |

`coef`

will extract the coefficients attribute from a function.
Functions created by applying `link{makeFun}`

to a model produced
by `lm()`

, `glm()`

, or `nls()`

store
the model coefficients there to enable this extraction.

## S3 method for class ''function'' coef(object, ...)

`object` |
a function |

`...` |
ignored |

if (require(mosaicData)) { model <- lm( width ~ length, data = KidsFeet) f <- makeFun( model ) coef(f) }

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.