fit_shrink {MMUPHin} | R Documentation

## A posteriori shrink per-batch location and scale parameters towards their EB priors

### Description

A posteriori shrink per-batch location and scale parameters towards their EB priors

### Usage

    fit_shrink(s_data, l_params, batchmod, n_batch, l_ind, control)

### Arguments

`s_data` | feature-by-sample matrix of standardized abundances.
`l_params` | list of parameter fits, as returned by fit_EB.
`batchmod` | design matrix for batch variables.
`n_batch` | number of batches in the data.
`l_ind` | list of indicator matrices, as returned by construct_ind.
`control` | list of control parameters (passed on to it_sol)

### Value

list of shrinked per-batch location and scale parameters.

[Package MMUPHin version 1.0.0 Index]