TernaryField | R Documentation |
TernaryField()
adds the vector field returned by field3logit()
to an
existing ternary plot generated by Ternary::TernaryPlot()
.
TernaryField( field, ..., length = 0.05, conf = FALSE, npoints = 100, conf.args = list() )
field |
object of class |
... |
other arguments passed to or from other methods. |
length |
length of the edges of the arrow head (in inches). |
conf |
if |
npoints |
number of points of the border to be computed for each confidence region. |
conf.args |
graphical parameters of confidence regions to be passed
to |
An object of class field3logit
with confidence regions included, if
computed within TernaryField()
.
field3logit()
.
library(nnet) data(cross_1year) mod0 <- nnet::multinom(employment_sit ~ gender + finalgrade, data = cross_1year) field0 <- field3logit(mod0, 'genderFemale') TernaryPlot() TernaryField(field0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.