Learn R Programming

xhmmScripts (version 1.1)

loadNamedVectorNoHeaderMayNotExist: Load a vector with named rows.

Description

Load a vector with named rows. If the file does not exist, warn the user and return an empty vector.

Usage

loadNamedVectorNoHeaderMayNotExist(fileName)

Arguments

fileName

Examples

Run this code
## Not run: vec = loadNamedVectorNoHeaderMayNotExist("named_vector.txt")

Run the code above in your browser using DataLab