R/CorrectType3D.R

CorrectType3D <- function (type, data_) 
{
    if (length(data_) == 3 && type == 3) 
        return(TRUE)
    if (length(data_) == 3 && type == 2) 
        return(TRUE)
    if (length(data_) == 6 && type == 1) 
        return(TRUE)
    return(FALSE)
}

Try the VecStatGraphs3D package in your browser

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

VecStatGraphs3D documentation built on May 1, 2019, 8:03 p.m.