Description Usage Arguments Details Value Author(s) Examples
Select one temporal sample for each unit using the Cube method.
The function samplecube
from the package sampling
is used.
1 | TemporalCube(S, P, R, tol = 1e-08)
|
S |
a matrix that contains variables on which the sample must be balanced. See Details. |
P |
a vector of probabilities of select samples. |
R |
a vector that specify to which unit each sample belongs. |
tol |
the tolerance parameter. Default value is 1e-8. |
Balancing constraints considered in S
allow first to select exactly one temporal sample for each unit considered
and then to verify constraint of fixed samples size.
PP
the balanced sample selected (a vector of 0s and 1s with the same size as P
).
Esther Eustache esther.eustache@unine.ch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.