fit {vtreat} | R Documentation |
Fit first arguemnt to data in second argument.
Description
Update the state of first argument to have learned or fit from second argument.
Usage
fit(vps, dframe, ..., weights = NULL, parallelCluster = NULL)
Arguments
vps |
vtreat pipe step, object specifying fit |
dframe |
data.frame, data to fit from. |
... |
not used, forces later arguments to bind by name. |
weights |
optional, per-dframe data weights. |
parallelCluster |
optional, parallel cluster to run on. |
Details
Note: input vps is not altered, fit is in returned value.
Value
new fit object
[Package vtreat version 1.6.5 Index]