sample_vectors | R Documentation |
Prepares a list of sample values from two given vectors v1
&
v2
for the bootstrapping workflow. This function is important for
internal use.
sample_vectors(v1, v2, size, by, seed, replace)
v1, v2 |
Vectors of interactions from which to sample. |
size |
Integer giving the total sample size which, for example, can be
the length of the shortest vector of interactions or of the longest one.
Passed to |
by |
Integer. Number of interactions used to increase gradually the
sampled vectors of interactions until all observations are sampled (given
in the |
seed |
A single integer value. Passed to |
replace |
Should sampling be with replacement? Passed to
|
A list of two lists of character vectors containing interactions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.