vtreat (version 1.6.4)

fit: 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)

Value

new fit object

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.