R/CorrectType3D.R

Defines functions CorrectType3D

Documented in CorrectType3D

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 29, 2017, 10:51 a.m.