powered by
Runs the equal per overlap algorithm from the valection library.
run.equal.per.overlap(budget, infile, outfile, seed);
An integer specifying the number of candidates to select.
Path to input file. It should be formatted with a tab separating the caller and call on each line.
caller1 name a call this caller made caller2 name a call this caller made
Path to a filename where the calls should be outputted.
An integer specifying the random seed value. Optional.
Sampling calls by, first, grouping calls by number of callers making the call and, second, selecting an equal number of calls from each group.
# NOT RUN { run.equal.per.overlap( budget = 5, infile = system.file("extdata/infile_example.tsv", package = "valection"), outfile = "outfile_equalPerOverlap.txt" ); # }
Run the code above in your browser using DataLab