choonhong ang wrote:> Hi friends,
>
> Is there a function to select intercept coefficients only ?
>
> When I use "coeficients" it shows me all the coefficients, but I
only want a
> specific coefficients.
What about indexing, e.g. as in:
coefficients(some_lm_object)["(Intercept)"]
Uwe Ligges
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.