chart.Regression(MCD,SPX, Rf = .03/12, excess.returns = TRUE, main = "Security Characteristic Line", fit = c("loess", "linear"), legend.loc = "topleft") Error in as.vector(data[, i]) : subscript out of bounds
Why is this happening? Thanks -- View this message in context: http://r.789695.n4.nabble.com/help-with-Code-tp3658134p3658134.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.