setCompetitors: setCompetitors Properly formats a user supplied a set of...

Description Usage Arguments Value Examples

View source: R/setCompetitors.R

Description

Takes a set of competitors and puts them in the proper format for voteR to use. The user should supply the competitors as a numberOfCompetitors x numOfDimensions matrix.

Usage

1
setCompetitors(matrixOfCompetitors = NA)

Arguments

matrixOfCompetitors

a numberOfCompetitors x numOfDimensions matrix containing the location of the competitors

Value

outCompetitorDataFrame

Examples

1
  setCompetitors(matrixOfCompetitors = cbind( c(.1,.2,.3,.4), c(.5,.6,.7,.8) ) )

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