prep_stickplot: Retrieve all covariance ellipse data for plotting

Description Usage Arguments

View source: R/ellipse_plot.R

Description

Retrieve all covariance ellipse data for plotting

Usage

1
2
3
4
5
6
prep_stickplot(mu_global, Sigma_global, mu_group, Sigma_group, xvar, yvar,
  group_names, global_name = "global", col_global = "black",
  col_group = RColorBrewer::brewer.pal(length(group_names), "Paired"),
  pch_g = 8, lty_g = 3, lwd_g = 3, cex_g = 2, pch_s = 19,
  lty_s = 1, lwd_s = 2, cex_s = 1, pch_n = 4, lty_n = 0,
  lwd_n = 1, cex_n = 1)

Arguments

mu_global

List of global mean statistics

Sigma_global

List of global variance-covariance matrix statistics

mu_group

List of group mean statistics

Sigma_group

List of group variance-covariance matrix statistics

xvar

Name of x variable as string (must match row name in matlist)

yvar

Name of y variable as string (must match column name in matlist)

group_names

Names of each group. Must match order in mu_group and Sigma_group.

global_name

Name of global group. Default = "global".

col_global

Color for global correlation

col_group

List of colors for group correlations

pch_g

Point shape for global correlation

lty_g

Line type for global correlation

lwd_g

Line width for global correlation

cex_g

Point size for global correlation

pch_s

Point shape for significant group correlations

lty_s

Line type for significant group correlations

lwd_s

Line width for significant group correlations

cex_s

Point size for significant group correlations

pch_n

Point shape for insignificant group correlations

lty_n

Line type for insignificant group correlations

lwd_n

Line width for insignificant group correlations

cex_n

Point size for insignificant group correlations


ashiklom/mvtraits documentation built on Sept. 4, 2019, 7:43 a.m.