R/test.DW.R

test.DW <-
function(x, y){
    if(!length(x) == length(y)){
        stop("\"x\" and \"y\" have different length.")
    }
    summary.dw <- dwtest(formula = x ~ y)
    return(summary.dw)
}

Try the dcv package in your browser

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

dcv documentation built on May 1, 2019, 9:25 p.m.