Description Usage Arguments Details Value Examples
View source: R/mnrva_single_rvector.R
Create a single random vector
1 | mnrva_single_rvector(vec_length = 100)
|
vec_length |
integer must be even, sets the vector length |
This function returns a randomly permuted vector of 1s and -1s, such that the sum of the vector is equal to 0 (equal number of 1s and -1s). The 1s stand for feature present, and the -1s stand for feature absent.
vector of random 1s and -1s
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.