coef.function: Extract coefficients from a function
Description
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.