Learn R Programming

lcc (version 1.0.1)

plotControl: Specifying graphical control values for lcc class

Description

The values supplied in the plotControl() call replace the defaults, and a list with all settings is returned.

Usage

plotControl(plot = TRUE, shape = 1, colour = "black", size = 0.5,
  xlab = "Time", LCC_ylab = "LCC", LPC_ylab = "LPC",
  LA_ylab = "LA", LCC_scale_y_continuous = c(0, 1),
  LPC_scale_y_continuous = c(0, 1), LA_scale_y_continuous = c(0, 1),
  all.plot = TRUE)

Arguments

plot

an optional to include an initial plot. If TRUE, the default, returns a ggplot object with a initial plot for lcc class. If FALSE never includes.

shape

Draw points considering a shape parameter. Legal shape values are the numbers 0 to 25, and 32 to 127; see aes_linetype_size_shape. Default is 1.

colour

an specification for lines color. Default is "black".

size

an specification for lines size. Should be specified with a numerical value (in millimetres); see aes_linetype_size_shape. Default is 0.5.

xlab

a title for the x axis. Default is "Time".

LCC_ylab

title for the y axis related with longitudinal concordance correlation (LCC). Default is "LCC".

LPC_ylab

title for the y axis related with longitudinal Pearson correlation (LPC). Default is "LPC".

LA_ylab

title for the y axis related with longitudinal accuracy (LA). Default is "LA".

LCC_scale_y_continuous

a numeric vector of length two providing limits of the scale related with longitudinal concordance correlation (LCC). Default is c(0,1).

LPC_scale_y_continuous

a numeric vector of length two providing limits of the scale related with longitudinal concordance correlation (LCC). Default is c(0,1).

LA_scale_y_continuous

a numeric vector of length two providing limits of the scale related with longitudinal concordance correlation (LCC). Default is c(0,1).

all.plot

viewports functions for lcc class. If TRUE, the default, returns a object created by viewport function with multiple plots in a single page. If FALSE returns a single ggplot object by page.

Value

a list with components for each of the possible arguments.