Description Usage Arguments Details Value Author(s) See Also Examples
This function reads a few lines from a data text file and determines whether a header exists, what the delimiter, and what data type each column is for a given file.
1 2 3 4 5 | guess.sep(file.name, numLine = 5, seps = "", isFile = TRUE)
guess.header(twoLines, sep)
find.type(file.name, sep, header = FALSE, numLine = 5, isFile = TRUE)
charOrNum(vect)
getRowNames(file.name, sep, header, skip)
|
file.name |
|
numLine |
|
seps |
|
twoLines |
|
sep |
|
vect |
|
header |
|
isFile |
|
skip |
|
guess.sep calls guess.sep
and find.type
to
determine the header, delimiter, and column data type of a file.
charOrNum
determines which elements of a vector are
numeric or character.
This function returns a list containing
header |
TRUE if there is a header and FALSE otherwise |
separater |
A character string indicating the delimiter used |
type |
A vector of character strings that are either character or numeric |
Jianhua Zhang
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.