I am trying to use the plot function in R. I would like to have the values which are represented on the X-axis to be on the Y-axis and vice-versa.
Another question I have is I have a list of dates with me. I want to know how many instances of a particular date are there in the list.
How should I go about doing this ?
1)
In the situation where you are using the default indexing with a single “y” vector the answer would be:
2)