Displaying 1 result from an estimated 1 matches for "var1avar2bvar3".
2003 Feb 14
5
Translating lm.object to SQL, C, etc function
...marker in the name of an coefficient of
separate out the components. For instance, in SPSS the name of a
coefficient might be:
var1=[a]*var2=[b]*var3
...which is easy to write a little script to pull that apart and turn it
into a line of SQL, C, or whatever. In S however the name looks like:
var1avar2bvar3
...which provides no way to pull the bits apart.
So my question is, how do I export an lm.object in some form that I can
then apply to prediction in C, SQL, or some other language? All I'm
looking for is some well-structured textual or data frame output that I
can then manipulate with appropr...