frml.full.smooth {kpcalg} | R Documentation |
Formula for GAM with crossterms
Description
Creates a formula for gam to be used in regrXonS. For data , variable to be regressed
, i=1...n and variables to regress on
creates formula
.
Usage
frml.full.smooth(target.ind, pred.inds, var.str = "x")
Arguments
target.ind |
integer, number for the variable to be regressed |
pred.inds |
integer(s), number(s) for the variable(s) on which we regress |
var.str |
name of variables used to create formula, default is "x" |
Value
formula.full.smooth() returns a formula
Author(s)
Petras Verbyla (petras.verbyla@mrc-bsu.cam.ac.uk)
See Also
[Package kpcalg version 1.0.1 Index]