Displaying 1 result from an estimated 1 matches for "tp20986754p20987041".
2008 Dec 13
1
simple list question
I'd appreciate some tips, I'm making a simple mistake trying to
extract elements from a list of fit objects.
The following command works, coef( cph.list[[1]] ) ,.... coef(
cph.list[[3]] ) and so forth. These extract regression coefficients
from the appropriate list element.
When I try to run this inside a for loop, or an lapply
(lapply(cph.list,coef)) I get this error