dist_approx {proDA} | R Documentation

## Calculate an approximate distance for 'object'

### Description

Calculate an approximate distance for 'object'

### Usage

    dist_approx(object, ...)

### Arguments

`object` | the object for which the distance is approximated
`...` | additional arguments used by the concrete implementation

### Value

a list with two elements: 'mean' and 'sd' both are formally of class "dist"

### See Also

`dist` for the base R function and `dist_approx()` concrete implementation for 'proDAFit' objects

### Examples

      syn_data <- generate_synthetic_data(n_proteins = 10)
      fit <- proDA(syn_data$Y, design = syn_data$groups)
      dist_approx(fit)

[Package proDA version 1.8.0 Index]