run.decreasing.with.overlap: Run the decreasing with overlap algorithm

Description Usage Arguments Details Author(s) Examples

Description

Runs the decreasing with overlap algorithm from the valection library.

Usage

1
  run.decreasing.with.overlap(budget, infile, outfile, seed);

Arguments

budget

An integer specifying the number of candidates to select.

infile

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

outfile

Path to a filename where the calls should be outputted.

seed

An integer specifying the random seed value. Optional.

Details

Sampling calls where the likelihood of a call getting selected is inversely proportional to the number of callers that made the call.

Author(s)

Chris Cooper

Examples

1
2
3
4
5
6
7
8
## Not run: 
	run.decreasing.with.overlap(
		budget  = 5,
		infile  = system.file("extdata/infile_example.tsv", package = "valection"),
		outfile = "outfile_decreasingWithOverlap.txt"
		);

## End(Not run)

valection documentation built on May 2, 2019, 7 a.m.