[R] Forcing results from lm into datframe
    beatlebg 
    rhelpforum at gmail.com
       
    Thu Dec 23 16:56:02 CET 2010
    
    
  
Hi all, 
This subject treats exactly what I am looking for, thank you. Only I would
like to include the p-values (or t-values) in the dataframe, like this:
       .id             (Intercept)   p-value(intercept)             quartile    
p-value(intercept)
1 CBP0908020    20.92140           0.00                   3.38546887          
0.00
2 CBP0908021    29.31632           0.00                   0.01372604          
0.12
3 CBP0908022    39.10000           0.00                   3.30000000          
0.00 
I have at most a lot of id's so a nice way to summarize the results is
preferred. I tried a lot of thinks with apply, ldply, dlply, Lmlist, but I
don't get the results that I wanted. 
Thanks a lot, 
With best regards
-- 
View this message in context: http://r.789695.n4.nabble.com/Forcing-results-from-lm-into-datframe-tp3013889p3162235.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list