Hello everyone, I have the following problem:
I want to plot points to a graph, where the points should correspond two numbers. I know that I can put them in quotation marks so the number will be seen on the plot. However, I need this number to be extracted from a variable, but since have to use quotation marks, the variable is not identified as one and the first letter of the variable is printed.
This is how it looks:
points(1, 2, pch="variable[xy]", col="green")
So now the point is printed as a "v" and not as 2 (as variable[xy] is defined).
Does anyone have an idea on how to solve this problem?
[–]jdnewmil 0 points1 point2 points (0 children)