Displaying 1 result from an estimated 1 matches for "group1_xdata".
2004 Feb 26
3
Help with multicolored points in one plot
...ext I thought if, for example, I had 2 groups, I could make a 2 color
vector. Then I could merge the data from my two groups alternating into an
X and Y vector, but that doesn't work either because the 2 groups may not
have equal numbers of members. For example
-------------------------------
Group1_Xdata <- c(1,2,3,4,5)
Group2_Xdata <- c(10,20,30,40,50)
Colors <- c("red","blue")
Merged_XData <- c(1,10,2,10,3,30,4,40,5,50)
(SAME MERGE FOR Y DATA)
-----------------------------
That would work to make group1 red and group2 blue, but if Group 2 had 6
members instead of...