Displaying 1 result from an estimated 1 matches for "merged_xdata".
Did you mean:
merged_data
2004 Feb 26
3
Help with multicolored points in one plot
...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 5, then the 6th member would come out red.
Any thoughts? Also, I want to be able to code this generically enough tha...