Displaying 1 result from an estimated 1 matches for "cor_mat".
Did you mean:
  corr_mat
  
2006 Aug 29
1
passing namees
...cter')
for(line in 1:(length(symbols)-1)) {
   assign(symbols[line], get.hist.quote(instrument = symbols[line],
   start = "2005-09-01", quote = "Close"))
   }
# this results in objects ibm, dd... with the last symbol skipped
mat <- cbind(symbols) # this is the problem
(cor_mat <- cor(mat))
symnum(cor_mat)
"""
How can I pass a list of the objects to cbind()? As written cbind gets
only the names of the objects and binds the names not the objects.
Thanks in advance,
     jab
-- 
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough,...