You can store entire regression results in a list, then use lapply()
to retrieve individual coefficients as desired.

Lists are very powerful for managing odd data formats, and no loops needed.

Sarah

On Tue, Jun 26, 2012 at 4:19 PM, Kevin Chang <kchan...@uoguelph.ca> wrote:
> Hello seasons R users,
>
>
>
> Is it possible to store a complete regression result into an array? I've
> already been able to save individual regression coefficients, but would like
> to store the whole regression results into different arrays through a loop.
>
>
>
> So that in under different quantiles regressions, I would be able to create
> a loop and store the full regression result each time into a different array
> for printing.
>
> The only way I can think of is to pre-generate a whole set of arrays and
> matrices to individually store each regression coefficients one at a time.
>
>
>
> Thank you,
>
>
>
> Kevin
>
>
>

-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
R-help@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.

Reply via email to