Return weights

Description

Return weights

Usage

1
2
## S3 method for class 'archetypes'
weights(object, type = c("weights", "reweights"), ...)

Arguments

object

An archetypes object.

type

Return global weights (weighted archetypes) or weights calculated during the iterations (robust archetypes).

...

Ignored.

Value

Vector of weights.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.