Description Usage Arguments Details Value Examples
(dn) The description of the algorithm is given into /rebastaba/ manual. The selection is monitored by the weights and power coefficient usually associated to a /win/.
1 | draw8dist(ind, E, wgt, kk, nat)
|
ind |
Value of the individual to predict (one row data.frame. |
E |
data.frame with the candidates in its rows. |
wgt |
Named weight(s) to be used for the computation of the
distances. When this argument is null, the same distance is returned
for all rows of |
kk |
Power coefficient to be used for the computation of the distances. |
nat |
natures of the |
No systematic check of the argument at this level
a numeric vector of length nrow(E)
containing the distance of
ind
with each row of E
.
1 2 3 4 5 | rebastaba3k("RESET"); # to comply R checking
E <- data.frame(A=1:100, c=100:1); # the empirical distribution
wgt <- structure(1, .Names="A");
nat <- structure("conti", .Names="A");
draw8dist(data.frame(A=20), E, wgt, 1, nat);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.