draw.hcross {tempR}R Documentation

Draw h-cross, range box, and box to enclose h-box

Description

Draw h-cross, range box, and box to enclose h-cross, described by Castura, Rutledge, Ross & Næs (2022).

Usage

draw.hcross(rangebox = NULL, hcross = NULL,
rbox.col = "black", rbox.lty = "dotted", rbox.lwd = 4.5,
hbox.col = "lightgrey", hbox.lty = "solid", hbox.lwd = 4.5,
hcross.col = "black",hcross.lty = "solid",
hcross.signif.lwd = 7, hcross.nsd.lwd = 3.5)

Arguments

rangebox

matrix where columns 1 and 2 are x and y dimensions and rows 1 and 2 are the minimum and maximum values

hcross

matrix where columns 1 and 2 are x and y dimensions and rows 1 and 2 are the half-width of the confidence interval, which is often 95% thus approximately 2x the standard error

rbox.col

line color for the range box (default: "black")

rbox.lty

line type for the range box (default: "dotted")

rbox.lwd

line width for the range box (default: 4.5)

hbox.col

line color for the box enclosing the h-cross (default: "lightgrey")

hbox.lty

line type for the box enclosing the h-cross (default: "dotted")

hbox.lwd

line width for the box enclosing the h-cross (default: 4.5)

hcross.col

line color for the h-cross (default: "solid")

hcross.lty

line type for the h-cross (default: "solid")

hcross.signif.lwd

line width for the h-cross where there is a significant difference (default: 7)

hcross.nsd.lwd

line width for the h-cross where there is a significant difference (default: 3.5)

Details

Draw h-cross, range box, and box to enclose h-box.

References

Castura, J.C., Rutledge, D.N., Ross, C.F., & Næs, T. (2022). Discriminability and uncertainty in principal component analysis (PCA) of temporal check-all-that-apply (TCATA) data. Food Quality and Preference, 96, 104370. doi:10.1016/j.foodqual.2021.104370


[Package tempR version 0.10.1.1 Index]