lcMake {rube}R Documentation

Create parameters.to.save for rube() when LC() is in the model.

Description

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).

Usage

lcMake(prefix, RHS, suffix)

Arguments

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.

Details

This constructs parameter names from their components.

Value

Returns a string vector of constructed parameter names.

Author(s)

Howard J. Seltman <hseltman@stat.cmu.edu>

References

http://www.stat.cmu.edu/~hseltman/rube/

See Also

rube

Examples

lcMake("b", "age+educ", "")

[Package rube version 0.3-11 Index]