genCompetitorHeading: genCompetitorHeading Assigns each competitor a heading in...

Description Usage Arguments Value

View source: R/genCompetitorHeading.R

Description

Gives an angle in radians for each competitor. For competitors with types that move this is their inital heading. genCompetitorHeading is used in conjuction with genCompetitorHeading andgenIdeals by genCompetitors to generate the characteristics of each competitor.

Usage

1
genCompetitorHeading(numCompetitorsGenCompHeading)

Arguments

numCompetitorsGenCompHeading

scalar Number of voters

Value

outCompetitorType numCompetitors x 1 A vector of competitor types, one for each competitor.


robiRagan/voteR documentation built on Feb. 27, 2020, 6:48 p.m.