file2df: Read a text file made of observations

View source: R/util.R

file2dfR Documentation

Read a text file made of observations

Description

Read a text file made of observations

Usage

file2df(file.in, header, skip, cnames)

Arguments

file.in

A character. Path to a text file with data

header

A logical. Does the first column contain column names?

skip

A numeric. Number of lines to skip

cnames

A vector character. The names of the columns

Value

A data.frame


albhasan/cqmaTools documentation built on Dec. 12, 2023, 9:25 a.m.