forked from hanase/vote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NAMESPACE
53 lines (51 loc) · 1.33 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import(formattable)
importFrom("knitr", "kable")
importFrom("utils", "read.table")
importFrom("fields", "image.plot")
import(data.table)
importFrom("grDevices", "hcl.colors")
importFrom("graphics", "axis", "mtext", "par", "text")
importFrom("stats", "median")
export(
count.votes,
stv,
approval,
plurality,
score,
condorcet,
tworound.runoff,
invalid.votes,
valid.votes,
corrected.votes,
correct.ranking,
view,
complete.ranking,
impute.ranking,
ordered.preferences,
ordered.tiebreak,
remove.candidate
)
# register S3 methods
S3method(summary, vote.stv)
S3method(print, summary.vote.stv)
S3method(view, vote.stv)
S3method(plot, vote.stv)
S3method(image, vote.stv)
S3method(summary, vote.approval)
S3method(print, summary.vote.approval)
S3method(view, vote.approval)
S3method(summary, vote.plurality)
S3method(print, summary.vote.plurality)
S3method(view, vote.plurality)
S3method(summary, vote.score)
S3method(print, summary.vote.score)
S3method(view, vote.score)
S3method(summary, vote.condorcet)
S3method(print, summary.vote.condorcet)
S3method(view, vote.condorcet)
S3method(image, vote.condorcet)
S3method(summary, vote.tworound.runoff)
S3method(view, vote.tworound.runoff)
S3method(image, vote.tworound.runoff)
S3method(print, summary.vote.tworound.runoff)
S3method(complete.ranking, vote.stv)