R/ReadFromFile.R

ReadFromFile <- function (input) 
{
    vector = try(read.table(input, header = FALSE, dec = ".", 
        ))
    if (class(vector) == "try-error") {
        print("Error in file!")
        return(0)
    }
    return(vector)
}

Try the VecStatGraphs2D package in your browser

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

VecStatGraphs2D documentation built on May 2, 2019, 12:36 p.m.