draw8predg: returns the predicted individuals for an empidata node.

Description Usage Arguments Value Examples

Description

(dn) returns the predicted individuals for an empidata node when they are drawn globally. The description of the algorithm is given into the /rebastaba/ manual. The prediction is monitored by the /win/.

Usage

1
draw8predg(nbs, EE, win)

Arguments

nbs

number of individuals to predict.

EE

data.frame with the candidates in its rows.

win

the /win/ to be used for the selection process.

Value

a data.frame of nbs rows and all columns of EE.

Examples

1
2
3
4
5
6
 rebastaba3k("RESET"); # to comply R checking
 EE <- data.frame(A=1:100, c=100:1); # the empirical distribution
 win <- new("win", nat=structure("conti", .Names="c"), swg=structure(1, .Names="A"), skk=0, sdi=c(0, 1), snb=c(1, 20));
 draw8predg(20, EE, win);
 win2 <- new("win", rty=c("*", "systematic"));
 draw8predg(10, EE, win2);

rebastaba documentation built on May 2, 2019, 5:24 p.m.