Skip to content
Prev 7350 / 15274 Next

Plotting by factor with xts

Don't use "long format". That is, run the symbols across columns - one symbol per column i.e. "wide format".  

Since xts is a matrix, you'll nee to make sure to keep the coredata numeric - mixing symbols into columns assures it isn't.