dist_approx: Calculate an approximate distance for 'object'

dist_approxR 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)


const-ae/proDA documentation built on Oct. 31, 2023, 9:39 p.m.