sample_random_scores: Sample scores from a number of completely random sample...

View source: R/score_autoscaling.R

sample_random_scoresR Documentation

Sample scores from a number of completely random sample permutations

Description

Sample scores from a number of completely random sample permutations

Usage

sample_random_scores(
  batch_container,
  scoring,
  random_perm,
  sample_attributes_fixed
)

Arguments

batch_container

An instance of BatchContainer.

scoring

A named list() of scoring function. Each function should return a vector of non-zero length.

random_perm

Number of random sample permutations to be done.

sample_attributes_fixed

Logical; if FALSE, simulate a shuffle function that alters sample attributes at each iteration.

Value

A score matrix with n (# of permutations) rows and m (dimensionality of score) columns.


designit documentation built on May 29, 2024, 12:04 p.m.