Learn R Programming

ldamatch (version 1.0.2)

set_param: Sets value for ldamatch global parameter.

Description

Sets value for ldamatch global parameter.

Usage

set_param(name, value)

Value

The previous value of the global parameter.

Arguments

name

The name of the global parameter.

value

The new value of the global parameter.

Details

The names of the available parameters:

  • RND_DEFAULT_REPLICATES: random search: default number of replicates

  • Anderson-Darling test parameters; see kSamples::ad.test for explanation

    • AD_METHOD: the method parameter for ad.test; default: asymptotic

    • AD_NSIM: the Nsim parameter for ad.test, used when AD_METHOD is 'simulated'; default: 10000

    • AD_VERSION: 1 or 2 for the two versions of the test statistic; default: 1

  • PRINT_INFO: print summary information, and progress information for the exhaustive search algorithm

  • PRINT_PROGRESS: whether to print progress information about parallell processing of cases

  • PROCESSED_CHUNK_SIZE: the number of cases to be retrieved at a time from iterators for parallel processing

See Also

get_param for retrieving the current value of a parameter.