impute {MAST} | R Documentation

## impute missing continuous expression for plotting

### Description

If there are no positive observations for a contrast, it is generally not estimible. However, for the purposes of testing we can replace it with the least favorable value with respect to the contrasts that are defined.

### Usage

    impute(object, groupby)

### Arguments

`object` | Output of predict
`groupby` | Variables (column names in predict) to group by for imputation (facets of the plot)

### Value

data.table

### Examples

    ##See stat_ell
    example(stat_ell)

[Package MAST version 1.18.0 Index]