R/td.lilliefors.R

Defines functions td.lilliefors

Documented in td.lilliefors

td.lilliefors <- function(tdf, col, thresh = 0.05) {
    if (!is.td.data.frame(tdf)) 
        stop("'tdf' is not a td data frame")
    if (missing(col) || !nchar(col)) 
        stop("'col' not specified.")
    if (thresh <= 0 || thresh >= 1) 
        stop("'thresh' value must be greater than 0 and less than 1.")
    query <- .td.genlilliefors(tdf, col, thresh)
    df <- tdQuery(query)
    return(df)
}
 
nonsleepr/teradataR documentation built on May 23, 2019, 9:32 p.m.