Re: [R] Using lm with a matrix?

From: jonboym <>
Date: Fri, 13 Jun 2008 11:33:20 -0700 (PDT)

Many thanks, works great!

Charilaos Skiadas-3 wrote:
> Try this:
> lapply( 1:2, function(i) lm( y~x, data=list(x=xdat[,i], y=ydat[,i]) ) )
> Haris Skiadas

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 14 Jun 2008 - 01:01:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 14 Jun 2008 - 02:30:47 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive