given_ind: Integer vector. Indicates which features are conditioned on.
x_train: Data.table with training data.
use_partykit: String. In some semi-rare cases partykit::ctree() runs into an error related to the LINPACK used by R. To get around this problem, one may fall back to using the newer (but slower) partykit::ctree()
function, which is a reimplementation of the same method. Setting this parameter to "on_error" (default) falls back to partykit::ctree(), if party::ctree() fails. Other options are "never", which always uses party::ctree(), and "always", which always uses partykit::ctree(). A warning message is created whenever partykit::ctree() is used.
Returns
List with conditional inference tree and the variables conditioned/not conditioned on.
Details
See the documentation of the setup_approach.ctree() function for undocumented parameters.