Hi ngupta:
i didn't get what you mean with "If B than
xts..If T yts..."
i suppose that you want to plot the prices of type A, then the prices of type
B and so on...
# well, to extract prices of tipe A, you can use
A <- which(table[,1] == "A")
# and then
A.prices <- table[,2][A]
hope that helps,
Hi, I am fairly new to R so this may be easy for some.
I have one column that is the Type="A, B' T"
and I have another column that lists Price='894, 895, 896'
I wanted to plot three different series based upon the Type...If B than
xts..If T yts...
How exactly do I do this?
Thanks in advance
--
2 matches
Mail list logo