ternarypoints {Zelig} | R Documentation |
Use ternarypoints
to add points to a ternary diagram generated
using the ternaryplot
function in the vcd library. Use
ternary diagrams to plot expected values for multinomial choice models
with three categories in the dependent variable.
ternarypoints(object, pch = 19, col = "blue", ...)
object |
The input object must be a matrix with three columns. |
pch |
The selected type of point. By default, |
col |
The color of the points. By default, |
... |
Additional parameters passed to |
The ternarypoints
command adds points to a previously existing
ternary diagram. Use ternaryplot
in the vcd
library to
generate the main ternary diagram.
Kosuke Imai <kimai@princeton.edu>; Gary King <king@harvard.edu>; Olivia Lau <olau@fas.harvard.edu>
The full Zelig manual at
http://gking.harvard.edu/zelig, points
, and
ternaryplot
.