Re: [R] Export Step Function Coefficients to Spreadsheet or Text File

2007-09-13 Thread Eric R
Thanks, this works great! --Eric D L McArthur wrote: > > Eric R juno.com> writes: >>... I want to export the coefficients to a spreadsheet > > names(w) > write.csv (w$coefficients, file=...) > > -- D L McArthur, UCLA Sch of Medicine, dmca ucla.edu > > _

Re: [R] Export Step Function Coefficients to Spreadsheet or Text File

2007-09-13 Thread D L McArthur
Eric R juno.com> writes: >... I want to export the coefficients to a spreadsheet names(w) write.csv (w$coefficients, file=...) -- D L McArthur, UCLA Sch of Medicine, dmca ucla.edu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] Export Step Function Coefficients to Spreadsheet or Text File

2007-09-13 Thread Eric R
Hello, After I use the lm() function to perform a multiple linear regression, and then use the step function to eliminate variables that predict the weakest, I need to export the final equation to a spreadsheet or a text file. Below is some sample code. In the end I want to export the coefficien