
Dear R-helpers,

In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command 
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.

Thanks,

Francesco Nutini
 		 	   		  
	[[alternative HTML version deleted]]

