library("fUnitRoots")
UnitRootTest <- function(data = data) {
result <- vector(length = nrow(data), mode = 'logical')
for (i in nrow(data)) {
result[i] <- (summary(unitrootTest(x = data[i], ...))@test$p.value <= 0.05)
}
return(invisible(result))
}
...
UnitRootTest(marker)
网友评论