otReadData: otReadData

Description Usage Arguments

View source: R/otReadData.R

Description

otReadData is a function to make a data.frame from a xlsx book file. If a sheet2 on a xlsx book file includes descriptions of each variables, this function mutates a numeric vector to a factor one.

Usage

1
otReadData(path, sheet = NULL, label_file = path, label_sheet = "Label", ...)

Arguments

path

path to the xls/xlsx file.

sheet

sheet to read data. Ether a string (the name of sheet), or an integer (the position of the sheet).

label_file

path to the xls/xlsx file to read value labels.

label_sheet

sheet to read value labels. Ether a string or an integer.

...

further arguments passed to or from other methods.


momoldo/otmR documentation built on March 27, 2021, 3 a.m.