Learn R Programming

DatABEL (version 0.9-6)

extract_text_file_columns: extracts columns from text file

Description

Extracts a column from text file to a matrix. If in a particular file line the number of columns is less then a column specified, returns last column!

Usage

extract_text_file_columns(file, whichcols)

Arguments

file
file name
whichcols
which columns to extract

Value

matrix of strings with values from that columns