lcMake {rube} | R Documentation |
This convenience function, creates the parameters.to.save argument for a rube() call when LC() is in the model. The prefix and suffix are strings matching the LC() call. The RHS is usually an element of the varList argument to rube(), i.e., it is in the form of a model formula right-hand-side, (but provided as a string).
lcMake(prefix, RHS, suffix)
prefix |
A string prefix corresponding to an LC() call. |
RHS |
A string containing the right-hand-side of a model formula |
suffix |
A string suffix corresponding to an LC() call. |
This constructs parameter names from their components.
Returns a string vector of constructed parameter names.
Howard J. Seltman <hseltman@stat.cmu.edu>
http://www.stat.cmu.edu/~hseltman/rube/
lcMake("b", "age+educ", "")