Closed
Description
In some cases, a model function that parsnip
is calling has non-standard argument names for the data-oriented components.
For example, a function foo()
that only has the x/y interface might have a signature like foo(X, Y)
instead of the standard foo(x, y)
.
Some real examples:
sparklyr
models usex
as thedata
slot (and put it in the first position)kernlab::ksvm(x, data)
wherex
is a formula.MASS::lda(x, grouping)