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 > From: nuvo nuvo > > To whom it may concern, > > 1. I would like to know if there is a command in R to choose > a function for > a given dataset. I am facing a difficult question about how > to fit the data > [ please attachment ] > > 2. Are there any function that will allow users to do the piecewise > regression? > > If not, is it going to be provide in the new updated version? > What I am > using is the piecewise logistic regression, but it doesn't > have a continuous > function though. I hope that R would have a specific command > to do the > piecewise (non)linear regression. > > I would apprecaite your suggestion. > > Sincerely yours, > > Nhum > > _________________________________________________________________ > Rethink your business approach for the new year with the > helpful tips here. > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
