dist_approx: Calculate an approximate distance for 'object'

Description Usage Arguments Value See Also Examples

Description

Calculate an approximate distance for 'object'

Usage

1
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

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

proDA documentation built on Nov. 8, 2020, 5:01 p.m.