[R] need help: regression models

Jason Turner jasont at indigoindustrial.co.nz
Mon May 10 13:00:35 CEST 2004


"Rodrigo" <rgazaffi at uol.com.br> said:
> I am working with some data which i would like to find the best fit model
> for them.
> First, this data are in a matrix. Each of the columns are treatments and
> the raws are repetions for the each tratment.

Is the response in a separate vector, or is it one of the columns?

...
> Now, i need to find the best fit model for them, i know that exponetial or
> log model would be perfect in this situation (both can help me)

Exponential models:
library(survival)
?Surv
?survreg

is the first thing I think of.

Log-linear models:
?glm

For either:
?predict
?fitted

to get the values to plot on the boxplot.

Hope that helps

Cheers

Jason




More information about the R-help mailing list