Learn R Programming

ldamatch (version 1.0.3)

.calc_multipliers: Calculates multipliers used in search_random.

Description

Derives multiplier for rcounts (the number of subjects that can be removed) such that the proportion of the expected sizes of groups will be props. The returned multipliers will be in the range of 0 to 1.

Usage

.calc_multipliers(counts, rcounts, props)

Arguments

counts

The number of subjects for each group.

rcounts

The number of subjects that can be removed for each group.

props

The expected proportion of subjects for each group.