Values are generated with variance equal to 1/weight. This can be used to see what R-squared would be achieved with purely random data, and therefore an appropriate number of components to use. This is known as Parallel Analysis.

weitrix_randomize(weitrix)

## Arguments

weitrix A weitrix object, or an object that can be converted to a weitrix with as_weitrix.

## Value

A SummarizedExperiment object with metadata fields marking it as a weitrix.

components_seq_screeplot

## Examples

weitrix_randomize(simwei)
#> class: SummarizedExperiment
#> dim: 7 5