helper-functions only used by GAP: Simulate from a uniform distribution according to min and max of the feature vector:

sim(Xcol)

Arguments

Xcol

Feature vector

Value

Simulated uniform distribution

Examples

example_dta<-create_example_data_for_R()
X=as.matrix(example_dta$counts)
Z <- apply(X,2,sim)