Skip to content

Better way to find function

1 message · Liaw, Andy

#
For #1, could you clarify what you mean by `function', an R function, or a
regression function?

For #2, there are several packages on CRAN (and in the R distribution
itself) that fit regression splines, if that's what you meant by `piecewise
regression'.  For logistic regression, you can either use the bs() term in
glm(), or gam() in the `mgcv' package.

HTH,
Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}