Learn R Programming

languageR (version 1.5.0)

plotAll.fnc: create plot or plots for list with data frames for plot or subplots

Description

given a list with one or more data frames with values for a plot (or subplot), create the actual plots

Usage

plotAll.fnc(reslist, sameYrange = TRUE, ylabel, xlabel = NA, intrName = NA, 
  pos = "end", ylimit = NA, addlines=FALSE, cexsize = 0.6, conditioningVals=NA,
  conditioningColors=1, conditioningLines=1, lineColor=1, addToExistingPlot = FALSE, ...)

Arguments

reslist

list with as components either a data frame or a list with data frames, the data frames specify X and Y coordinates and HPD intervals

sameYrange

logical, if TRUE, the ylim for each panel will be chosen to accomodate the range of values across all panels in the plot

ylabel

label to be used for the vertical axis

xlabel

label to be used for the horizontal axis; this option is active only when a single predictor is plotted

intrName

label for the interaction predictor, if present

pos

location of legend values for interaction

ylimit

if specified, overrides sameYrange for ylim

addlines

if TRUE, adds line between levels of same factor(s)

cexsize

character expansion size for information in the plot for interactions, default is 0.6

conditioningVals

vector of names of the levels of the conditioning factor in the interaction (the factor with different lines in the plot)

conditioningColors

vector of names of the colors to be used for the levels of the conditioning factor in the interaction (the factor with different lines in the plot)

conditioningLines

vector of names of the line types to be used for the levels of the conditioning factor in the interaction (the factor with different lines in the plot), by default solid lines

lineColor

name of color to be used for the lines in the plot

addToExistingPlot

if TRUE, the current plot is added to an already existing plot

...

further graphical parameters to be passed down, none are currently implemented

Value

A plot is produced on the graphics device.

Details

Note that reslist may contain as elements lists of data frames, these then specify the separate points or lines to be plotted for a given interaction

See Also

See Also as plotLMER.fnc

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
not intended for independent use
# }

Run the code above in your browser using DataLab