good.fit.parameters: Select only arguments for a specific fitting function

Description Usage Arguments Details Value Examples

View source: R/SDPSyn.R

Description

Select only arguments for a specific fitting function

Usage

1
good.fit.parameters(method, synparameters)

Arguments

method

a string. currently only method="ctree".

synparameters

a named list.

Details

Currently only works with method="ctree" Only selects the arguments that match the function partykit::ctree_control

Value

a sublist of synparameters, which names are possible arguments of partykit::ctree_control if method="ctree".

Examples

1
good.fit.parameters(method="ctree",list(teststat=30,tutu=3))

DanielBonnery/BigSyn documentation built on June 28, 2020, 7:18 p.m.