Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

pophelper (version 2.0.0)

getPlotParams: Internal: Generate parameters for plots with labels

Description

Internal: Generates various parameters required for plotting with labels.

Usage

getPlotParams(grplab = NA, plotnum = 1, labsize = NA, labangle = NA,
  labjust = NA, pointsize = NA, linethick = NA)

Arguments

grplab

A character vector of labels same length as number of individuals.

plotnum

A numeric indicating the number of plots on the figure.

labsize

A numeric indicating the size of the labels.

labangle

A numeric indicating the angle/rotation of labels. 0 is horizontal while 90 is vertical.

labjust

A numeric indicating the justification of labels. Defaults to 0.5 if labangle=0 or 1 if labangle between 20 and 135.

pointsize

A numeric indicating the size of points on label marker line.

linethick

A numeric indicating the thickness of the label marker line.

Value

A list with following plot parameters: grplab, plotnum, labsize, labangle, labjust, pointsize, linethick.