search for: minbmi

Displaying 1 result from an estimated 1 matches for "minbmi".

Did you mean: minami
2009 Dec 31
4
Obtaining partial output from a function that does not run to completion.
...an error message, I don't get the output from either the lm() or vf() even thought neither lm() nor vif() have any problems . How can I force the function to print sequential results rather than wait for the entire function to complete before listing the functhion's output? Thanks, John minBMI<-function(SS,SimData) { SampleData<-sample(1:SS,size=SS,replace=TRUE) fitBMIEpiRevlm<-lm(AAMTCARE~BMIEpiRevAdjc+BMIEpiRevAdjcSq+SEX+jPHI+jMEDICAID+H_AGE+jMARSTAT+factor(jEDUCATION)+factor(jsmokercat)+factor(jrace)+log(INCOME_C+1),data=SimData[SampleData,],x=TRUE) print(summary(fitBMIEpiRev...