sample_random_scores {designit}R 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.


[Package designit version 0.5.0 Index]