[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glm syntax

From: John Darrington
Subject: Re: glm syntax
Date: Wed, 13 Jun 2007 10:33:42 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Jun 12, 2007 at 11:01:18AM -0400, Jason Stover wrote:

     The problem is that GLM's syntax differs from that of other procedures.
     It looks like this:
        GLM dependent variable [BY factor list [WITH covariate list]] ...
     so the first token after the command name is a variable name. I'm not
     sure how to write the q2c rules for that. 
     I thought about adding an optional VARIABLE subcommand, then assuming
     if it isn't there that the first token goes with the unused
     subcommand, but this approach seems like a kludge.
     Does this mean I need to write a custom parser? I hope not. 

I suspect that you have to write a custom parser for that part.   You
can probably cut-and-paste from the parsers for the ONEWAY or EXAMINE
commands to get started.

Frankly, I'm slowly beginning to come around to Ben's way of thinking;
that q2c is more trouble than it's worth ...


PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]