balancedGrpDistrib {wpm} | R Documentation

## Makes a balanced distribution of the elements between several plates.

### Description

This function makes it possible to distribute the samples equitably on several plates, taking into account the numbers in the groups (if there are any). This means that, for example, if 2 plates are to be filled, then 50 generally, all the plates are assigned the same number of elements. When the numbers do not allow it (in particular when the total number of elements to be allocated is not a multiple of the number of plates), there will be a slight difference in the number of samples on the plates.

### Usage

    balancedGrpDistrib(d, nb_p, df_max_size)

### Arguments

`d` | the user dataframe
`nb_p` | the number of plates to fill
`df_max_size` | the maximum number of samples that can be placed on the current plate

### Value

a list of dataframes each corresponding to a plate to fill.

[Package wpm version 1.2.1 Index]