R/tsCheckedTF.R

Defines functions tsCheckedTF

Documented in tsCheckedTF

tsCheckedTF <-
function(prefix = "scbValue", envir = KTSEnv) {
    tssel <- rep(FALSE, KTSEnv$dSList$nTS)
    for (ind in 1:KTSEnv$dSList$nTS) {
        scbValueind <- paste0(prefix, ind)
        if (tcltk::tclvalue(get(scbValueind, envir = envir)) == "1") {
            tssel[ind] = TRUE
        }
        rm(scbValueind)
    }
    tssel
}

Try the KarsTS package in your browser

Any scripts or data that you put into this service are public.

KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.