Re: [R] Assign value to plot variable name (make.group functions)

2016-06-13 Thread Bert Gunter
Mark: I do not understand what you mean by plot labels, which generally mean the x and y axis labels that can be given with xlab and ylab parameters in the xyplot call. Clearly, however, this is not what you mean. If you mean the labels in the key for the groups, you should create the grouping fac

[R] Assign value to plot variable name (make.group functions)

2016-06-13 Thread Mark Fingerle
Dear all, In order to create plots comparing two measurements I am using the "xyplot" and "make.groups" functions (see script example below). Now I would like to assign a value to the variable names in the plot. Meaning: In the beginning of my script I assign a name(value) to a variable (for ex