trib.names: 'trib.names' returns the names of .csv files in working...

Description Usage Arguments Value Warning Examples

Description

trib.names returns the names of .csv files in working directory and stores table values to a global variabla All, filenames to global variabla filenames and returns truncated names of files.

Usage

1
trib.names(x, DataFF = TRUE, DEncode = "UTF-8")

Arguments

x

Numeric value length of file name for truncation. Truncated file name is given at output for ease of use.

DataFF

logical scalar, checking whether to use CSV style for Tribometer of Profilometer

DEncode

is a string that specifies file encoding for import

Value

returns truncated file names, also generates list All and filenames vector

Warning

If wrong type is used at DataFF read.csv will have problems

Examples

1
2
3
4
5
6
7
setwd(paste(path.package("trib"),"/exdata/tribometer",sep=""))

trib.names(2)

setwd(paste(path.package("trib"),"/exdata/profile",sep=""))

trib.names(2,DataFF=FALSE)

gokcemay/trib documentation built on May 17, 2019, 7:30 a.m.