Displaying 1 result from an estimated 1 matches for "lm2code".
Did you mean:
lcode
2003 Feb 16
0
[SUMMARY] Converting coef(lm) to SQL/VBA/etc
...SQL). The attached script can convert from the csv file saved
above into either of these two formats. To use it:
- Download Perl if you don't already have it
- Install Text::CSV_XS
. Windows: ppm; install Text-CSV_XS; q
. Unix: perl -MCPAN -e shell; install Text::CSV_XS; q
- Run `perl lm2code.pl mod vba`
or `perl lm2code.pl mod sql`
(where 'mod' is the filename without extension
from write.table)
To convert to some target language other than VBA or SQL, simply open
lm2code.pl (attached) and add your own entry to the %output hash at the
top of the script. Use the VBA an...