plotSEMM_legend {plotSEMM} | R Documentation |
Requires plotSEMM_setup
be run first. Generates a legend that identifies different classes and the composite between-class estimate for the plotSEMM_contour
and plotSEMM_probability
plots. Can be used in place of the automatically-generated legends included in plotSEMM_contour
and plotSEMM_probability
.
plotSEMM_legend(lnty, lncol)
lnty |
Determines the line types used for the class lines. If no value is provided, defaults to 3. See par for information about line type. |
lncol |
Determines the line colors used for the class lines. If no value is provided, defaults to 1. See par for information about line type. |
None.
Bethany E. Kok, Jolynn Pek, Sonya Sterba and Dan Bauer
Maintainer: Bethany E. Kok <bethanyk@unc.edu>
http://www.bethanykok.com/plotSEMM.html
plotSEMM_setup
, plotSEMM_contour
, plotSEMM_probability
## 2 class empirical example on positive emotions and heuristic processing in Pek, Sterba, Kok & Bauer (XXXX) pi <- c(0.602, 0.398) alpha1 <- c(3.529, 2.317) alpha2 <- c(0.02, 0.336) beta21 <- c(0.152, 0.053) psi11 <- c(0.265, 0.265) psi22 <- c(0.023, 0.023) plotSEMM_setup(pi, alpha1, alpha2, beta21, psi11, psi22) plotSEMM_legend() plotSEMM_legend(6,2)