Thank you so much for your reply. On the first page of the paper, there are logics which I typed > library(tradesys) > library(TTR) > data(spx) > tail(spx)
,and it runs smoothly. But it gives me an error at x <- tsts(spx) Thanks, db -- View this message in context: http://n4.nabble.com/Error-could-not-find-function-tsts-tradesys-package-tp1839233p1840069.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.